/ Published in: CSS
Content may disappear on window resize in IE6/Maxthon, when using expressions to set min-width/max-width. To fix it - just remove 'position:relative' in #container.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/* style.css -------------*/ #container { position:relative; /* remove this */ min-width:999px; max-width:1140px; margin:0px auto 0px auto; z-index:1; } /* ie6.css -------------*/ #container { position:static; /* or you can add this only to ie */ width:expression((document.documentElement.clientWidth || document.body.clientWidth) <= 1001? "999px" : (document.documentElement.clientWidth || document.body.clientWidth) >= 1142? "1140px" : "auto"); }