Forum Moderators: not2easy
If so, something like this would work:
<!--[if IE]>
<style type="text/css">
#mydiv {
width: expression((document.all?document.body.clientWidth:window.innerWidth)>800?"234px":((document.all?document.body.clientWidth:window.innerWidth)>1024)?"345px":"123px");
}
</style>
<![endif]-->
Just replace the pixel values with whatever works.
123px = default (up to 800×600 resolution)
234px = more than 800×600, but less than 1024×768
345px = anything above 1024×768