Following works in Mozilla, Opera and IE.
<div style="
left: 100px;
right: 200px;
/* JavaScript-hack for IE*/
width: expression((document.body.clientWidth - 100 - 200) + 'px')
">
<span>Text<span>
<div>
But this requires JavaScript enabled for IE. If its not enabled box's
width is same style "width: auto".
Is it possible to do calculations with CSS (here I would need width:
100% - 150px - 150px)?
Or is there another solution for this problem?