CSS answer to Ch5/Q3 - attributes don't work?
I'm having trouble getting the 'model answer' to Questions 2 and 3 of Chapter 5 to display correctly - I've downloaded the sample xml and css files (and emended the xml to include a stylesheet ref), but I can't get the "name" and "number" attributes to display (if I reformat the xml to use "<name>xxx</name>" etc it does work correctly).
I'm wondering how to get attributes to display correctly - I've ploughed through the CSS2 spec' and became slightly bogged down in attribute selectors and 'content' fields, I'm wondering if there's an easy way to do this!
Cheers,
Andy
|