.block{

display:block;

height:100% !important;

height:100px;

min-height:100px;

max-height:100%;

border:solid 1px green;

width:200px;

}

height:100% !important; css code support all mordern browser but IE6 dose not support so IE read height:100px; Minimum or maximum css element are supported by IE7, FF, Safari and all mordern browser but IE6 could not support.

Advertisements