Page flashes unstyled text before styles kick in...

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
cnymike
Power Poster
Power Poster
Posts: 446
Joined: Sun Jan 22, 2006 3:24 am

Page flashes unstyled text before styles kick in...

Post 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?
Ted
Power Poster
Power Poster
Posts: 3329
Joined: Fri Jun 11, 2004 6:58 pm

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

Post 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.
pinthenet

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

Post 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
Post Reply

Return to “CMSMS Core”