Hi,
I'm trying to set up a simple text box, which will auto-include scroll bars to allow text larger than the box to be displayed. My test code is
<div id="priceswindow" style="position: absolute; width: 200; height: 300;
overflow: hidden; border-width: 2px; border-style: solid; border-color: brown;">
Div area text running on over several lines we hope in order to test the overflow properties.
</div>
However, the text box as displayed simply stretches to include all the text on 1 line, ignoring the height/width attributes. Is there something wrong with this code ? I have tried most variations of the style options, and checked other examples and see no obvious differences. I am running Win XP and IE6 incase there's a problem.
Thanks,
Pinpoint
I'm trying to set up a simple text box, which will auto-include scroll bars to allow text larger than the box to be displayed. My test code is
<div id="priceswindow" style="position: absolute; width: 200; height: 300;
overflow: hidden; border-width: 2px; border-style: solid; border-color: brown;">
Div area text running on over several lines we hope in order to test the overflow properties.
</div>
However, the text box as displayed simply stretches to include all the text on 1 line, ignoring the height/width attributes. Is there something wrong with this code ? I have tried most variations of the style options, and checked other examples and see no obvious differences. I am running Win XP and IE6 incase there's a problem.
Thanks,
Pinpoint