W3C home > Mailing lists > Public > www-style@w3.org > June 2006

Re: display: none

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Sun, 04 Jun 2006 18:37:18 +0200
To: Alexander Christiaan Jacob <ego@acjs.net>
Cc: www-style@w3.org
Message-ID: <ev26829kf5n533sgq7s5mh4k0fqmdmupsj@hive.bjoern.hoehrmann.de>

* Alexander Christiaan Jacob wrote:
>The following would do the trick:
>
>:not(h4) { display: none }

It would not, since that matches <html> and <body> elements and other
ancestors of the h4 element and if they are display:none, there is no
way to display the h4 elements.
-- 
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 16:37:28 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:45 GMT