HighDots Forums  

Re: visibility:hidden vs display:none

Cascading Style Sheets Layout/presentation on the WWW (comp.infosystems.www.authoring.stylesheets)


Discuss Re: visibility:hidden vs display:none in the Cascading Style Sheets forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
rf
 
Posts: n/a

Default Re: visibility:hidden vs display:none - 04-05-2009 , 10:16 PM






darius wrote:
Quote:
Is there a subtle difference between visibility:hidden vs
display:none ?
One *could* call it subtle I suppose.

display: none; removes the element from the document flow entirely. It no
longer exists for layout purposes.

visibility: hidden leaves the element in the document flow, causing it to be
layed out, and to take up space, just as if it were visible. It's just not
rendered.

--
Richard.




Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.