E
Erik Ginnerskov
I have been struggling for some time, trying to make IE behave as if it
actually do understand the css attribute min-width.
In FireFox this code vill work perfectly:
<div style="width: 60%; min-width: 300px;">Some texst</div>
If the viewport is more than 500 px wide, the width of the box is 60 % of
the width of the vieport. If the viewport is less than 500 px wide, the
width of the box is 300 px.
IE doesn't understand that and the width of the box is always 60 % of the
width of the viewport.
Nothing I have tried works as wanted.
Anyone who knows how to make IE do as wanted?
actually do understand the css attribute min-width.
In FireFox this code vill work perfectly:
<div style="width: 60%; min-width: 300px;">Some texst</div>
If the viewport is more than 500 px wide, the width of the box is 60 % of
the width of the vieport. If the viewport is less than 500 px wide, the
width of the box is 300 px.
IE doesn't understand that and the width of the box is always 60 % of the
width of the viewport.
Nothing I have tried works as wanted.
Anyone who knows how to make IE do as wanted?