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:
HTML 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>
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:
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.
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...
I've switched careers...
I'm NO LONGER a scientist,
but now a web developer...
awesome.
Bookmarks