i have a page that has a link to a separate css file and when i reload it, in the first second it apears like at has no css:
http://www.tamisivan.com/temp/yoram/...y%20level.html
it happens only in IE. how can i solve this?
| SitePoint Sponsor |
i have a page that has a link to a separate css file and when i reload it, in the first second it apears like at has no css:
http://www.tamisivan.com/temp/yoram/...y%20level.html
it happens only in IE. how can i solve this?
Works fine for me on IE7
"Obstacles are those things you see
when you take your eyes off the goal"
the first time it loads, it looks like it is only in plain text for a very shirt time...
maybe you blinked exactly?
i saw it on more then one computer
Probably FOUC (flash of unstyled content).
What you need is a link tag in the head somewhere - you could add a print stylesheet if you fancy or just change the way you link to your stylesheet from the @import to this:
Code:<link rel="stylesheet" type="text/css" media="screen" href="mainDidgim_eng2.css" />

FYI you can find out more about FOUC from http://www.bluerobot.com/web/css/fouc.asp/
However as Tailslide already mentioned, linking the stylesheet in the head of the document instead of using @import will solve the problem.
portfolio | bio | blog
Professional UK website design, maintenance, hosting and domains
thank you
it helps!
Bookmarks