Forum Moderators: not2easy
1. Does CSS dictate the layout of the page at all or just the colors, text fonts and colors?
2. Why does my page flash like this: (you'll see a white flash before the actual page loads)
Thanks!
[edited by: DrDoc at 11:27 pm (utc) on June 23, 2007]
[edit reason] No URLs, thanks. See TOS #13 [WebmasterWorld.com]. [/edit]
Please note, however, that the support for certain "advanced" features of CSS is lacking in certain browsers ... mostly IE.
And, the "white flash" ... It's commonly referred to as a "flash of unstyled content" (or "FOUC"). Googling that term should turn up a wide variety of articles explain what it is, why it happens, and what can be done about it.
In short: A single <link> or <script> element inside the document <head> will get rid of the FOUC.
<script type="text/javascript">
//prevent FOUC
</script>
If you design/layout your HTML design with tables, it could be the source of your problem. Tables load considerably slower, from top-left cell to the right.
Still, the FOUC will display with CSS div-based designs, however, they're usually much less annoying than those from tables.
A simple and easy way to eliminate the brief flash of white would be to make certain your have background colors defined for your DIVs or your TABLEs/TRs/TDs. This will make the FOUC a bit more colorful and not as noticable at times.
Hope it helps. :)
[edited by: coyoteRick at 12:11 am (utc) on June 26, 2007]