Whats wrong in Mozilla and Netscape??

liunx

Guest
Ok... after countless hours of perfecting my index page, people tell me it looks really bad in Mozilla and Netscape. So I Download <!--more--> Mozilla, and it looks terrible! It still looks good In Crazy Browser and IE6... Whats wrong? :( <br />
<br />
<!-- w --><a class="postlink" href="http://www.we-are-webmasters.com">www.we-are-webmasters.com</a><!-- w --> (<!-- m --><a class="postlink" href="http://we-are-webmasters.com">http://we-are-webmasters.com</a><!-- m -->)<!--content-->for one thing you have 3 body tags and 3 head tags and 3 html tags. you may think it looks good in IE and crazy browser because they are assuming what you want as Mozilla and NS (best browsers on the market) are actually doing what you told it to do.<br />
<br />
you can't have those tags in there. NS and Mozilla will fail the website as you have seen. so if you are using includes of some kind you need to take the html and head and body tags out of those files. also make sure all table tags are closed or have something in them as NS will not render a table with empty cells.<!--content-->Where do I begin? (<!-- m --><a class="postlink" href="http://validator.w3.org/check?uri=http%3A%2F%2Fwe-are-webmasters.com%2F&charset=%28detect+automatically%29&doctype=%28detect+automatically%29&ss=1&outline=1&sp=1">http://validator.w3.org/check?uri=http% ... ine=1&sp=1</a><!-- m -->) Loads of errors. Most are easy to sort out though. Move all the <head> stuff into one section at the top, removing any duplicated entries.<br />
<br />
There are a massive number of errors and warnings (<!-- m --><a class="postlink" href="http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwe-are-webmasters.com%2F&warning=1&profile=css2">http://jigsaw.w3.org/css-validator/vali ... ofile=css2</a><!-- m -->) for the CSS. This is going to totally bomb in most browsers. All numbers other than zero must have the units of px, pt, em, or % stated.<br />
<br />
You could also save a lot of time by exporting all of the CSS to an external .css file, then calling it from the <head> section. You can then re-use the same file across the web site.<br />
<br />
<link rel="stylesheet" type="text/css" href=http://www.htmlforums.com/archive/index.php/"mystyle.css"><!--content-->k thanks guys... A friend of mine did it for me, and it looked awesome, but then I realized how it looked in Mozilla.... Thanks for your help, i'll work on getting those errors cleaned up :)<!--content-->
 
Back
Top