scott_blanchard — 2013-06-26T10:32:42-04:00 — #1
On this page > http://mattbike.com/about-cassettes/4
When you hit it the first time (or do a force refresh for uncached content after the initial page load), the white container that surrounds the page (div class="wrapper") is not fully clearing the floated elements that it contains until all items on the page have loaded.
This results in, as you can probably see, a temporary stage in which the background of the contained elements is inherited from the body (the gray color).
What are my options for a CSS workaround to prevent this issue?
jeff_mott — 2013-06-26T10:58:46-04:00 — #2
I'm going to wager a guess that it's because the clearing DIV is one of the last child elements. The browser won't process it until everything above it has been processed first. Try using the clearfix trick instead.
paulob — 2013-06-26T11:40:02-04:00 — #3
What Jeff said above sounds feasible so is worth a try.
There may also be an issue in #wrapper where you have used a linear gradient for the background and gradients are notoriously slow to render (especially in Firefox) which is the reason I avoid using them and use images instead as I find them quicker and lighter on page usage than gradients.
However, you could try supplying a background-color of #fff on #wrapper before the linear gradient rule so that at least you have a white background while firefox creates the linear background image (which it effectively is).