min-width and max-width is very useful command of CSS, whereby you can specify a minimum width for any element. This can be particularly useful for specifying a minimum width for a page.
Unfortunately, this command IE doesn’t understand, so we’ll need to come up with a new way of making this functionality work in this browser.
First, insert a <div> under the <body> tag, as we can’t assign a minimum width to the <body>:
Next, we create our CSS commands, to create a minimum width of 600px:
width:expression(document.body.clientWidth < 600? “600px”: “auto”);
You might also want to combine this minimum width with a maximum width:
width:expression(document.body.clientWidth < 600? “600px” : document.body.clientWidth > 1200? “1200px” : “auto”);