PDA

View Full Version : loading css before html


indianleo
11-02-2009, 11:54 AM
Hello Friends, can anyone pls help me I got a webpage where the structure is misaligned when it loads because the css load very late after loading html so is there any solution where we can load css before html

domedia
11-02-2009, 03:11 PM
You cannot load the CSS before the HTML since the CSS file is called from your HTML page.
Make sure your CSS file is being called before your JS files. That's all you can do.

d a v e
11-02-2009, 06:44 PM
and look at the size of your html and images and see how you might reduce the page load time - by tidying up code, further optimising images, etc