When you load a page that loads relatively slow there is some lag time where the page is displayed but the CSS is not yet implemented. Do you know what I mean?...
Is there a way to avoid this lag so the page loads with all the CSS in tact?
Wickham
15 Oct 2008, 01:16 AM
It may be because your connection is slower than it should be; most people will always use a separate stylesheet and there isn't usually much problem.
However, the ways to avoid this would be to put the styles inside head section style tags and not use a separate stylesheet, but I wouldn't do it.
Make your stylesheet as brief as possible.
As the link to a separate stylesheet is in the head section, I think that it is probably downloaded into computer memory before the browser parses the rest of the page; so it may be something in the html body section that is delaying the use of the styles which are already in memory.
Powered by vBulletin® Version 4.2.0 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.