Fix IE min-width min-height property
February 17, 2008
All of you there who are trying to work with CSS usually each this dilemma. you need to use teh min-width/min-height proper. Everything works fine, as expected, only that IE wont work.
There is an workaround for this even it is not CSS compliant. It is a combination between Javascript/CSS. Here it is
.page {
background:#fff;
margin:0px auto;
padding:0;
text-align:left;
width:90%;
min-width:981px;
width:expression( document.body.clientWidth < 1000 ? "981px" : "90%" );
}
Hope someone found this usefull ![]()
 

RSS/XML