Revision: 7331
Updated Code
at July 18, 2008 06:03 by DesTincT
Updated Code
/* 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"); }
Revision: 7330
Updated Code
at July 18, 2008 06:01 by DesTincT
Updated Code
/* ie6.css -------------*/ #container { width:expression((document.documentElement.clientWidth || document.body.clientWidth) <= 1001? "999px" : (document.documentElement.clientWidth || document.body.clientWidth) >= 1142? "1140px" : "auto"); } /* style.css -------------*/ #container { position:relative; /* remove this */ min-width:999px; max-width:1140px; margin:0px auto 0px auto; z-index:1; }
Revision: 7329
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at July 18, 2008 05:57 by DesTincT
Initial Code
/* ie6.css -------------*/ #container { width:expression((document.documentElement.clientWidth || document.body.clientWidth) <= 1001? "999px" : (document.documentElement.clientWidth || document.body.clientWidth) >= 1142? "1140px" : "auto"); } #container { position:relative; /* remove this */ min-width:999px; max-width:1140px; margin:0px auto 0px auto; z-index:1; }
Initial URL
Initial Description
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.
Initial Title
Content disappear in IE6/Maxthon with expressions
Initial Tags
css, ie6
Initial Language
CSS