Re: display: none

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 06:21:56 UTC