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

Re: display: none

From: Jonathan Chetwynd <j.chetwynd@btinternet.com>
Date: Wed, 14 Jun 2006 12:57:45 +0100
Message-Id: <FE607FCC-1A29-4F50-912C-F7A9548CC942@btinternet.com>
Cc: www-style@w3.org
To: HeroreV <herorev@yahoo.com>

as I replied privately:

one would have to list every conceivable alternative which isn't  
realistic.

cheers

Jonathan Chetwynd


Jonathan Chetwynd



On 14 Jun 2006, at 07:22, HeroreV wrote:


If the visibility property alone doesn't suffice
because the elements that are hidden still take up
space, just tell those elements not to take up any
space.

   visibility: hidden;
   max-width: 0;
   max-height: 0;
   overflow: hidden;
   margin: 0;
   border: none;
   padding: 0;

The solution seems very simple. Am I missing
something?


--- Jonathan Chetwynd <j.chetwynd@btinternet.com>
wrote:

> how can I view only those elements marked h4?
>
> Jonathan Chetwynd
>
> they need to be compressed or collapsed rather than
> spread thinly
> around using body * {visibility:hidden;} h4 *
> {visibility:visible;}
>
> I had hoped that body * {display:none;} h4 *
> {display:block;} might
> work.


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Received on Wednesday, 14 June 2006 11:57:51 GMT

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