CSS Selectors: Pattern Matching and Inheritance
On page HTML 361 of your XHTML book it discusses contextual selectors and selector patterns. I found a really good article by Adrian Senior on CSS Selectors: Pattern Matching and Inheritance that does a great job of explaning the document tree, the relationship between elements, and how to define CSS tules based on those relationships.
Leave a Reply
722 views, 1 so far
today |

Follow me on Twitter
Subscribe via RSS















April 8th, 2005 at 1:52 pm
A great tool for learning, especially when you are looking at those great-looking sites and trying to figure out how they did it, is SelectOracle.
Just paste in one of those incomprehensible CSS rules, and you get an explanation in Spanish or English:
http://gallery.theopalgroup.com/selectoracle/
Oh — and don’t forget Firefox’s DOM inspector. I don’t know how I managed without it.
http://www.brownhen.com/DI.html