This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Stylesheets > June 2004 > Netscape and CSS





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Netscape and CSS
Caroline

2004-06-18, 12:15 pm

The same page opens like it should in IE, but the styles are not
applied in Netscape (nor Mozilla)
I suspect that Netscape is not locating the external CSS file.

Is there any restriction on how to specify the css file ??
Any idea anyone?

I used the following line in the head
(along with other tags...)

<link id=csslink href="css/caroline.css" type=text/css rel=stylesheet>
Chris Morris

2004-06-18, 12:15 pm

plize@letsdothatagain.com (Caroline) writes:
> The same page opens like it should in IE, but the styles are not
> applied in Netscape (nor Mozilla)
> I suspect that Netscape is not locating the external CSS file.
>
> I used the following line in the head
> (along with other tags...)
>
> <link id=csslink href="css/caroline.css" type=text/css rel=stylesheet>


<link id="csslink" href="css/caroline.css" type="text/css" rel="stylesheet">
would be safer - always quote attribute values, whether you need to or
not.

Do you have a URL of the page where it isn't working - it might not be
that line which is the problem. Always provide a URL where possible.

If it works in IE but not Netscape/Mozilla, then I suspect a MIME type
issue, but I'd need a page URL to check that.

--
Chris
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews