Reply to CSS div height 100%

Your name:

Reply:


Posted by jaschreiber on 05/22/06 05:29

i'm writing this only because i spent a good two days endlessly trying
to solve this problem and couldn't find anything on the internet that
actually helped. I eventually figured out the solution, as no doubt so
does everyone (hence the solution never actually being posted: it seems
too obvious to bother)... but had i found it sooner, i would have been
happy, so here goes:

if you're trying to get a CSS div to span the total height of the
window and scrolling is likely to be involved (for instance, a menu
sidebar), don't use the height: 100% tag! set margin-top: 0px and
margin-bottom:0px.

[Back to original 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

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