Forum Moderators: open
Here is the problem: I load my CSS style sheet like this:
<link rel="stylesheet" type="text/css" href="global.php?template=global_css&ext=css&cache=1" />
Notice its just a php file. Well, all of my CSS is in a database and I just echo out the CSS in the database with a PHP file. I set the appropriate headers and it works beautifully. Well when you first access the site in Firefox it doesnt load some of the CSS. It loads only some, because my background image is in the CSS and the background image shows up fine, but the rest of the site looks like complete crap, like the CSS never loaded. The background image wouldnt even show up unless my style sheet was loaded. Then I hit refresh and everything looks perfect. It only happens when you first access the website. The only thing I can think of is that the CSS style sheets, when loaded in firefox, have different headers. I have no idea. It's probably the strangest problem I've ever come across in my 6 years of web development.
I know I'm not allowed to post links on here, but the only way to really understand this problem is to see for yourself.
<snip>
Notice when you first access the site it looks like crap, then you hit refresh and it looks fine. Be sure to access the site in firefox first.
Thanks a ton for your help.
[edited by: Woz at 1:30 am (utc) on Nov. 28, 2004]
[edit reason] Sorry, no self URLs please, see TOS#13 [/edit]