Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Flash of Unstyled Content (FOUC) in Firefox 3


Reply


2 Posts   2764 Views

Avatar
streetdaddy

32 Posts

1 July 2008 at 6:17pm

I just starting a new SS theme and I'm noticing the old FOUC ([url]http://www.bluerobot.com/web/css/fouc.asp/[/url]) problem, but in Firefox 3 (classic FOUC is an IE issue).

So, I've found reference to a fix ([url]http://groups.google.com/group/jquery-en/browse_thread/thread/95465c4025cfd73d[/url]), but in my Page.ss there isn't any sort of placeholder for the stylesheet references? I can see in PageController where the stylesheets are called, but this provides no control over where in <head> the references are placed.

Any ideas?

Avatar
Willr

Forum Moderator, 5513 Posts

1 July 2008 at 10:51pm

Theres 2 methods of including stylesheets - by default we use requirements in the PageController - if you are having issues then try and hard code then in the template instead - the idea behind Requirements to load the css is so we can do things like compress all the files into 1 http request, block the file when we need it etc, but including it from the Page.ss would work fine