1 Way To Avoid the Flash of Unstyled Content » Learning jQuery – Tips, Tech

This tutorial describes a way to avoid a flash of unstyled content that sometimes occurs when applying styles with JavaScript on page load. The problem is most evident when there is some content that needs to be hidden initially and when the document is large or complex.