Jul
10
10
Height 100% with divs.
If you need set height of one div as long as other div (both div float left) you must do some tricks.
Base code:
1 2 3 | #wrapper { clear: both; } #cola { float: left; width: 100px; } #colb { float: left: width: 100px; } |
Now if you want to have same height in cola and colb you must add:
1 2 | #wrapper { overflow: hidden; } #cola { margin-bottom:-32767px; padding-bottom:32767px; } |
Leave a comment
Sponsors
Categories
Tags
Apache
apache2
benchmark
cleanup
deb
debian
experimental
Firefox
grab them all
grabthemall
Hamachi
hamachi basic
homepost
howto
imagemagick
instsrv
Linux
Pear
Pecl
pgadmin
PHP
php5
postrgresql
profiler
realvnc
repair
screenshot
service
serviceex
sources.list
srvany
svn
symfony
tidy
tlen.pl
ubuntu
var_dump
vista
VNC
Windows
Wine
xdebug
xhtml
xp
xul








