flash of unstyled content

liunx

Guest
hi guys,

i found this website

<!-- m --><a class="postlink" href="http://www.bluerobot.com/web/css/fouc.asp">http://www.bluerobot.com/web/css/fouc.asp</a><!-- m -->

and it talks about removing the flash of unstyled content in websites with linked style sheets.

now i tried there <head> method and i could not seem to get it to work.

here is my new code

<style type="text/css" media="screen">
@import "/css/model.css";
@import "/css/plane.css";
</style>


here is my old code

<style type="text/css" media="all">
@import "/css/plane.css";
@import "/css/model.css";
</style>


can anyone see what i am doing wrong?

thanx guyshi guys,

i have got the fix i want - the javascript and link tricks on that page work.

but can someone still help with with the <head> method?

CheersYou have already solved it by using the link; link a css containing the @import.
 
Back
Top