What is the order of loading the CSS files in a HTML page ?

Posted by Purushotham on Stack Overflow See other posts from Stack Overflow or by Purushotham
Published on 2010-06-18T05:48:33Z Indexed on 2010/06/18 5:53 UTC
Read the original article Hit count: 178

Filed under:
|

I want to know the order of loading the CSS files in a HTML page.

My actual requirement is like this: I have more than 10 CSS files in my application.

I am importing some 3 to 4 CSS files in each HTML page. The problem is I have duplicate classes that defined in some CSS files. That means I override some of the CSS classes in the CSS files. In some pages it behaves correctly. In some pages it behaves wrongly. I have inline styles defined for some of the DIVs in HTML page also. I am keeping CSS class for that DIVs also.

Can anyone know which one will take higher priority or which one loads first ?

© Stack Overflow or respective owner

Related posts about html

Related posts about css