Click to See Complete Forum and Search --> : style.css working in IE but not in FF
JJohnsenDK
10-15-2008, 06:47 AM
Hey
Im importing my stylesheet (style.css) in my html file and it works fine i IE, but not i FF?
And when i say it does not work in FF i mean that there isnt any css on the page, like the .css document does not import.
What am i doing wrong?
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link type='text/css' rel='stylesheet' href='themes/my/styles.css' />
</head>
kelly23
10-15-2008, 07:06 AM
Hi,
Is your stylesheet named style.css or styles.css? You mention both. Also, doublecheck the path and make sure that the location of your web page is directly above the following directories, and not in some other directory:
"themes/my/"
ginger
JJohnsenDK
10-15-2008, 07:11 AM
its styles.css and yes it is in that directory. As i also mentioned is that this works perfectly fine in IE. It just doesnt work in FF, thats the strange thing about this problem.
Can you give a link to the site?
JJohnsenDK
10-15-2008, 08:02 AM
http://www.lenep-katrinelund.dk
No problem in Fx, try Ctrl-F5
Note: id's must be unique (6x #site_links_top_navigation)
aj_nsc
10-15-2008, 08:15 AM
Works fine here in FF3.0.3
If you are using the webdeveloper toolbar by any chance, make sure that under CSS you don't have your stylesheet disabled. I had that done once with JS and I couldn't figure out why the JS code on my page wasn't working anymore...;)
JJohnsenDK
10-15-2008, 08:26 AM
yes the main page works fine... try to navigate in the menu, then you will see that it does not work. Try "Netbutik".
Note: id's must be unique
http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fwww.lenep-katrinelund.dk%2Fhome.php%3Fsite%3Dshop