2009
04.27
04.27
FOUC (or Flash of Unstyled Contents) is where the page loads the boring normal text for a split second each page before it gets replaced with the proper text. Which looks a bit crap.
Luckily the fix is ridiculously simple. This usually occurs in IE, but this may fix it for other browsers also. Simply put:
<script type=”text/javascript”>
Cufon.now(); <!– avoid the fouc in ie with cufon –>
</script>
Somewhere just before the closing </body> tag and the problem is solved. If only everything in life was that simple
Who ate all the pie’s , who ate all the pies’ la la la la la la la la la
pie boy