In my website, I want the body
tag to have a minimum width of 640px. Thing is, IE6 doesn't recognize min-width
, so I'm trying to fix this with a CSS expression in my IE6 stylesheet:
body {
width : expression(this.clientWidth < 639 ? "640px" : "auto");
}
But this is crashing the browser as son as I resize it. I've tried with document.body.clientWidth
instead of this.clientWidth
but it too crashes. Is it possible to fix this?