> From: russ - maxdesign > I remember when I first > started getting into CSS, code like this would make me freak out: [...] > So, for those that are reasonably new to CSS, I'd thought I'd > break it down > into bite size pieces.
And for those rare occasions where Russ isn't handily available to break down complex selectors, you can visit the "selectoracle" http://gallery.theopalgroup.com/selectoracle/ A bit more concise than the step by step explanation, but useful nonetheless. The example in question div.content a[href^="http:"] comes out with the following translation: "Selects any a element with a href attribute that begins with http: that is a descendant of a div element with a class attribute that contains the word content." Patrick ________________________________ Patrick H. Lauke Webmaster / University of Salford http://www.salford.ac.uk ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************
