Thursday, August 9, 2007

CSS Property Min Height Doen't Work in Internet Explorer 6

The min-height property sets the minimum height of an element. But for some reason this property doesn't work in Internet Explorer 6.

Instead use this code:
p {
min-height: 10px;
}

Use this solution:
p {
min-height:10px;
height:auto !important;
height:10px;
}

I've checked this solution with Internet Explore 6, Internet Explorer 7 and Firefox, works fine.

Enjoy,
Learn Web Development