cascading style sheets
CSS File Include Order
Submitted by Ben Hodson on Thu, 09/03/2009 - 09:24
Most of the time, when elements are put in the HTML HEAD tag, order does not matter. But in the case of CSS, not only do styles cascade from the include file to the local file to the element, but styles also cascade in the order that files are included in the page's HEAD tag. The following is a quick test that shows how the order that files are included affects the rendering of a CSS styled element. This CSS code has been tested on Internet Explorer 8, Safari 4, and Firefox 3.5.

Recent comments
8 hours 32 min ago
23 hours 25 min ago
3 days 11 hours ago
4 days 11 hours ago
6 days 12 hours ago
1 week 1 hour ago
1 week 12 hours ago
1 week 18 hours ago
1 week 22 hours ago
1 week 3 days ago