Forum Moderators: not2easy

Message Too Old, No Replies

netscape 6 css trouble

Cant load external css in netscape 6

         

kidrock

7:36 am on Nov 24, 2004 (gmt 0)

10+ Year Member



I am having proiblem loading css in netscape 6. The page works fine in mozilla 1.0, netscape7.2 and I.E 6.0. I never worked for multi browser compatible sites. This is the code on my page (incase it might help):

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/1999/REC-html401-19991224/loose.dtd">
<html>
<head>
<title>: : WebHosting99 : :</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
background-image: url(images/bg.jpg);
}
-->
</style>
<link rel="stylesheet" href="images/web99.css" type="text/css">
</head>

Hester

9:44 am on Nov 24, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Is it the Doctype Bug? I had major problems with that - unless the doctype is in a certain format, the page can appear incorrect!

Here is the solution:

[webmasterworld.com...]

Also you might want to condense your code like this:


body {
margin:0;
background-image:url(images/bg.jpg);
}

kidrock

5:30 am on Nov 25, 2004 (gmt 0)

10+ Year Member



Thanks Hester

But the css still dosent load. Its a problem only in Netscape 6.0. It works fine in 7.2.

kidrock

11:47 am on Nov 27, 2004 (gmt 0)

10+ Year Member



problem solved.. it was in the css file.