January 7th, 2010
12:43 pm
Posted under CSS
Permalink
Tags CSS, Tutorial, Web
The following articles give details of the resolution of styles when multiple stylesheets are cascaded, and how styles are prioritised when multiple styles affect the same element.
- This article is a helpful introduction to the basics.
- This article from W3.org gives the full specification, but if starting out you are advised to read the above intro first!
- This article from David’s Kitchen gives a good insight into CSS Style inheritance, priority and the infamous specificity (try saying that one when you’ve had a few too many!) I found it easier to understand particularly on priority than the W3.org spec above, although the latter is obviously the last word on how it all works.
Leave a Reply
You must be logged in to post a comment.