Also sprach David Woolley: > > You wanted to see h4 elements, no? If so, I suggest: > > > > body * { display: none } > > This will match all h4 elements, and has a higher specificity > than: > > > h4 { display: block } Actually, it has the same specificity -- the * doesn't count [1]. However, it's still not right as h4's children will be matched by "body *". Using "body > *" is probably a better idea. [1] http://www.w3.org/TR/2006/WD-CSS21-20060411/cascade.html#specificity -h&kon Håkon Wium Lie CTO °þe®ª howcome@opera.com http://people.opera.com/howcomeReceived on Sunday, 4 June 2006 20:21:43 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:45 GMT