Firefox Ignoring External Stylesheet

Associate
Joined
15 Nov 2002
Posts
816
Has anyone come across a problem with Firefox before where it doesn't apply an external stylesheet?

I'm messing around with a site (locally) and it works fine in both Opera 8.5 and IE6, but Firefox does not apply the stylesheet at all and just displays the text content.

Can't for the life of me work out why :confused:

I have read it maybe something to do with the web server configuration, but I can't find out what it is. I am using WAMP 1.6.1 for reference and Firefox version 1.5 - although previous versions do the same thing.

Any help appreciated.

Cheers
Paul
 
Last edited:
Thanks for the reply.

I was using..

Code:
<link rel="stylesheet" href="stylesheet.css" type="text/css" media="all" />

..which works fine as mentioned in IE6 and Opera.

Have changed it to the import method and it's fixed the problem! :D

No idea why still as I've always used the previous method before without problem.

Oh well, live and learn! :)
 
Oops, I've spotted what I originally did :o

Originally, I was refering to the stylesheet with this line...

Code:
<link href="styles\styles.css" rel="stylesheet" type="text/css" media="all" />

And I've now changed it to the following and it works just fine! :p

Code:
<link rel="stylesheet" href="styles/styles.css" type="text/css" media="all" />

I'm still learning so forgive my stoopidness! :D

(Might of helped if I'd copied the correct code into my earlier post in the first place)! :o
 
Last edited:
Back
Top Bottom