Sent by Scott Schrantz on 31 December 2002 15:03
> -----Original Message-----
> From: Bob Osola [EMAIL-REMOVED]]
>
> <style type="text/css">@import ("filename.css");</style>
>
> However, this method resulted in a noticeable unpleasant flicker on
> pages with form elements. Such pages could be seen unstyled
> for a brief moment before the CSS took effect. Then, on a whim,
> I tried referencing the CSS file using the good old-fashioned method of:
>
> <link rel="stylesheet" TYPE="text/css" href="filename.css">
>
> And, lo and behold, problem solved. The CSS was now applied
> instantaneously, making the whole app feel much more responsive. So I
> wondered: does the speed of CSS rendering differ in any other browsers
> depending on which method is used to call the source file? Or have I
> stumbled on an odd IE6 bug?
FOUC!
Flash of Unstyled Content.
As far as I know, it's only an IE thing, and the method you found is the
preferred way to fix it.
http://www.bluerobot.com/web/css/fouc.asp
--
Scott Schrantz
work: www.rci-nv.com
play: www.computer-vet.com