Finally i found out how to set a min-height to my pages and i've got a problem!
FireFox perfectly displays the divs, the height i specified, but IE6 scrolls down to the infinite, and i dont know how to stop it.
is there anyway to solve it? with a max height or something????
Here is the CSS code i used:
Code:#bodycontent { float: right; background-color: #fefaf6; border: solid 1px yellow; border-left: solid 1px red; border-top: solid 2px red; width: 590px; min-height: 600px; max-height: 1024px; padding: 18px 0 16px -250px; margin: -20px 0 0 -20px; } * html #bodycontent { height:expression(Math.max(this.offsetHeight-2, 600)+'px'); }



Reply With Quote




Bookmarks