|
I have the following code in my CSS file. And it works fine in Netscape, Mozilla and Opera. However in IE it keeps shrinking ignoring the min-width. The idea of using the widt:expresion .... came from online however it still does not work properly.
#pagecell1{
position:absolute;
top: 112px;
left: 2%;
right: 2%;
width:95.6%;
min-width: 850px;
width:expression(document.body.clientWidth < 850 ? "850px": "auto" );
min-height: 768px;
height:expression( this.scrollHeight < 768 ? "768px" : "auto" );
background-color: #ffffff;
}
Any help is apreciated.
Thx
|