Monday, February 28, 2011

Min-height issue in ie

Some how a normal problem to deal with ie issue is min-height.usually we put
min-height:100px;
height:auto;
But ie doesn't show the property.Now it can be possible,there is a simple code for all the browsers including ie.

#Mydiv
{
min-height:70px;
height:auto !important;
position:relative;
height:70px;
}

This will work with ie as well as firefox and crome.

Enjoy!! :)

No comments:

Post a Comment