Re: display: none

* Jonathan Chetwynd wrote:
>how can I view only those elements marked h4?

There is no good way to do this using CSS, as visibility is insufficient
you would have to set display:none for all elements that have no h4 de-
scendants, visibility:hidden for h4 ancestors and visibility:visible for
the h4 elements. Since you cannot select e.g. all elements that do not
have a h4 descendant using CSS Selectors, you would need something else.

You could of course try some yet more complicated tricks, but you'd be
better of using script or XSLT to transform the document as desired.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Sunday, 4 June 2006 15:30:26 UTC