View Full Version : Website problem


Shervin Mandgaryan
August 2nd, 2006, 11:04 AM
Hey guys,

I've been having a problem with my website and I don't know how to fix it.

http://www.pasarprod.com/about.htm

I've been using Dreamweaver and I can't seem to fix the grammar issue. I type everything in full capitals and periods, but yet it doesnt show the proper grammar when I save it for web. Anyone know how this problem can be resolved?

Cheers, and yes I did make this thread in the Area 51 section.

Keith Loh
August 2nd, 2006, 11:22 AM
You are linking to a .css stylesheet called .smltxt. I would guess that the stylesheet is converting your text.

Chris Hocking
August 3rd, 2006, 09:46 AM
Hi Shervin,

Keith is exactly right...

<td rowspan="6" valign="top" bgcolor="#FFFFFF" class="txtstyle">
<div align="center">
<p class="style4">
<font color="#938C62" face="Verdana, Arial, Helvetica, sans-serif">About Pasargard Productions</font>
</p>
...
<p><strong><font color="#938C62" size="1" face="Verdana, Arial, Helvetica, sans-serif">text</font></strong></p>
</div>
</td>

The above code shows your text is covered by the "txtstyle" and "style4" styles, as defined by your style sheet.

.txtstyle {
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
font-style: normal;
font-weight: bold;
text-transform: lowercase;
color: #938C62;
}

Your style sheets reveals that text transform, for "txtstyle" is set to lowercase. It's also worth noting that "style4" doesn't exist.

Can I also suggest you remove that annoying "anti-right click" javascript code. It's just useless and unhelpful...

Shervin Mandgaryan
August 10th, 2006, 10:30 AM
Thanks for the help guys, I've fixed the problem.. but now there is another problem.

http://www.pasarprod.com/index.html <-- Try loading this in Firefox, and then in Internet Explorer. For some reason when you open it up in IE it doesnt show up at all! Any info on this guys?

Cheers,

Chris Hocking
August 10th, 2006, 11:00 AM
How strange! I've never seen anything like that before!

I don't have time to have an in-depth look at the moment, but for starters, make sure all the HTML is valid.

Use the W3C Validation Markup Service (http://validator.w3.org/check?uri=http%3A%2F%2Fwww.pasarprod.com%2Findex.html).

My bet would be that you've stuffed up some of the HTML in the main table code.

If I get a chance tomorrow, and it's still broke, I'll have a proper look.

Good luck!

Chris Hocking
August 10th, 2006, 11:04 AM
Problem Found: you didn't close the javascript tag at the start. It's therefore commenting out the rest of the source code.

Shervin Mandgaryan
August 10th, 2006, 11:32 AM
Which Javascript tag? I don't see any!

EDIT: Oh %($ me, my webhost changed servers, I was uploading new files onto the old server! Problem fixed!

Thanks Chris!!!

Chris Hocking
August 10th, 2006, 07:23 PM
You open the script...

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</head>

But don't close it...