Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

wheezy

macrumors 65816
Original poster
Apr 7, 2005
1,280
1
Alpine, UT
I've run into this problems a few times, but I have good valid CSS genereated by CSSEdit, and my pages load fine in Safari and IE7, but in Firefox the CSS is not loaded. If I copy the entire CSS into the HEAD of the file, then the page loads right, but I'd obviously like to use a referenced CSS file.

Here is how I have it referenced in the code:

<link rel="stylesheet" media="screen" type="text/css" href="site/avintifront.css" />
<link rel="stylesheet" media="screen" type="text/css" href="site/newt.css" />

Unfortunately that's all I can show you, the site we have it hosted on right now for Dev purposes is password protected so I can't have you take a look at it.

Bottom line is: Firefox won't load the external stylesheet for me.
 
you should verify that the css docs are linked via "document" or "site root".
or try putting the full url (http...) to link to the css file.
 
I would double check that the HTML validates. Different browsers treat problems differently like ignoring certain issues. What I'm thinking is that a tag may be closed incorrectly somewhere (or opened incorrectly). If your code is XHTML you might want to run it through an XML validator in addition to HTML validator just to make sure.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.