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: