» » » Min-height property

Blog

Min-height property

This piece of code demonstrates how we can use the property min-height bypass the bugs of IE5 and IE6.

Min-height property
div.box {
   height: auto !important;  /* for modern browsers */
   height: 200px;            /* for IE5.x and IE6 */
   min-height: 200px;        /* for modern browsers */
}

0 comments

×

Only registered users can leave comments.

© Copyright ©2008-2016. All Rights Reserved.