You are here: CSS to hide DIV, but keep space in use. « HTML « IT news, forums, messages
CSS to hide DIV, but keep space in use.

Posted by Noozer on 03/12/06 10:51

I'm sure I've seen this, but it's been a while and cannot remember how it
was done.

If I set the "display" CSS property to 'block' makes the DIV take space up
in the HTML page and displays it's content. Setting this property to 'none'
makes the DIV disappear as though it never existed. BUT, I'm sure I've seen
another value that will hide the content of the DIV, but will STILL use up
the space in the HTML page.

Does this make sense? Does anyone know how it's done?

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация