I need someone who can provide me with a solution that will stop the flash of unstyled content (fouc) on my site.
It's located here: http://www.cmscritic.com
What I've done to avoid FOUC is:
· Set the body section as:
<body style="visibility: hidden;" onload="js_Load()">
· Write a
With this approach the body of my web page keeps hidden until the full page and CSS files are loaded. Once everything is loaded the onload event turns the body visible. So, the web browser remains empty until a point when everything pops up on the screen.
It is a simple solution but so far it is working.