Preventing F.O.U.C. for carouFredSel

When using the carouFredSel plugin, you may see a Flash Of Unstyled Content (F.O.U.C.). This is because the browser may render elements before the DOM is fully loaded and before the DOMContentLoaded event is fired. Fortunately it can be prevented, pretty easy actually. Simply apply something like the following CSS to your HTML element.

#carousel {                /*    the HTML element that will be turned into a carousel */ 
    width: 870px;          /*    depending on your situation */ 
    height: 175px;         /*    depending on your situation */ 
    overflow: hidden;