Page 1 of 1

Page flashes unstyled text before styles kick in...

Posted: Sun Jan 22, 2006 3:28 am
by cnymike
i've just discovered CMSMS and think it's incredible. I had been struggling with phpwebsite and CMSMS makes mincemeat out of phpwebsite.

I have just installed CMSMS and it went smoothly. Now I'm just noodling around seeing how things work. One thing I have noticed that is slightly bothersome is that when pages load, they flash unstyled text until the style sheets kick in. So in essence the page flashes in the browser with no formatting then suddenly snaps into the correct formatting a second later. It's not that problematic except it is a bit distracting and seems slightly "unprofessional". Any ideas why this occurs?

Re: Page flashes unstyled text before styles kick in...

Posted: Sun Jan 22, 2006 2:41 pm
by Ted
Well, stylesheets do come out of the database, so I guess there is a chance that it's a little slow.

A good test would be to take the stylesheet.php link out of a rendered page, put it directly in the browser, and see how long it takes to show up.

Re: Page flashes unstyled text before styles kick in...

Posted: Mon Jan 23, 2006 10:15 am
by pinthenet
I found this description http://www.bluerobot.com/web/css/fouc.asp a few weeks ago while I was trying to solve another IE problem (3-pixel right shift) - it includes a solution

John