go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Display vs Visibility
 
Subject: Display vs Visibility
Author: WebSpider
Posted on: 07/24/2006 06:41:06 PM

The core difference between display and visibility is that:

display:block|none: the element NOT to be displayed <div style="display:none;">item</div> will be evicted from the place which would occupy;

visibility:visible|hidden: the element NOT to be visible <div style="visibility:hidden;">item</div> will preserve the place which occupied. Actually, the name 'invisible' speaks itself quite well.


Replies:


References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.