Troubles with Netscape. Again and again!

admin

Administrator
Staff member
Hi everyone,<br />
<br />
I have a problem with a Netscape refusing to show layers correctly (and some problem with css as well). Can anyone help?! <br />
<br />
Its beyond me, but am sure its fixable.<br />
<br />
The page is here. <br />
<br />
<!-- m --><a class="postlink" href="http://www.fundsource.co.nz/searchwizard.asp">http://www.fundsource.co.nz/searchwizard.asp</a><!-- m --> It works fine under Ixplorer, but not under Netscape.<br />
<br />
Anyone?<!--content-->Did you validate your page? My Homesite validator (which is not the best) found 50+ errors.<br />
IE will happily display invalid code. Netscape is a LOT more particular.<!--content-->No I havent. I dont work with websites a lot. Where can I get validator from?! Is there one built in in Dreamweaver?<br />
<br />
Does it check for errors?<br />
<br />
Thanks<!--content-->http://validator.w3.org/<br />
<br />
You will need to add a DOCTYPE before you attempt to validate. Here's one to get you started. It goes on line 1 of your document.<br />
<br />
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--content-->http://webdevfaqs.com/html.php#validate<!--content-->In html page...<br />
Add this as the first line:<br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"<br />
"http://www.w3.org/TR/html4/loose.dtd"><br />
Add meta tag for characterset used:<br />
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><br />
Put this tag before the closing head tag:<br />
<LINK REL="stylesheet" TYPE="text/css" HREF=http://www.webdeveloper.com/forum/archive/index.php/"Wizard/StyleSheet.css"><br />
<br />
In style sheet...<br />
Remove this enclosing tag from the style sheet:<br />
<STYLE Type="text/css"><br />
<!--<br />
--><br />
</STYLE><br />
empty values not allowed:<br />
background-color:;<br />
units are required:<br />
TOP: 225;<br />
and many more<br />
<br />
Once these errors have been fixed you can fix all the other validation and scripting errors.<br />
<br />
BTY Don't write web pages with Microsoft editors; they insert invalid code<!--content-->Thanks for such promt replies.<br />
<br />
Ill try to validate my code. <br />
<br />
But can anyone see any major problems with code that may cause these problems (like problems with CSS or layers)?<!--content-->Two validating errors:<br />
replace <script language="JavaScript"> with <script type="text/javascript"><br />
Add alt="text" to all <img> tags<!--content-->Originally posted by Muratg <br />
But can anyone see any major problems with code that may cause these problems (like problems with CSS or layers)? <br />
<br />
You do not appear to be using CSS or Layers but you have MANY HTML code problems... <br />
<br />
<head> declared twice<br />
missing </a>, </p>, </small> tags<br />
<link..> tag in body<br />
<div> does not have a name attribute<br />
</br> is invalid tag<br />
Extra set of <html><head><title> tags<br />
<br />
Just to name a few. These will all cause problems in Netscape.<br />
<br />
Edit:<br />
Found a CSS style sheet link!!<!--content-->
 
Back
Top