Forum Moderators: not2easy

Message Too Old, No Replies

Opera auto overflow problem

Opera not correctly displaying div overflow

         

Prof_Jozz

3:31 pm on Jun 2, 2004 (gmt 0)



I have a div (scrollArea) that is set to overflow auto. It contains many rows that are made up of three 'columns' that are floated left to keep them on one line. It scrolls fine in IE and Netscape, but in Opera 7.5 the div is stretched to take up the space as if overflow is turned off...... But if I remove the float left off the column divs it behaves as it should, but obviously I then loose my column format.

<div id="scrollArea">
<div class="scrollrow"><div class="scrollrowitem"> Column A </div>
<div class="scrollrowitem2"> Column B </div>
<div class="scrollrowitem3"> Column C</div>
</div>
<div class="scrollrow"><div class="scrollrowitem"> Column A </div>
<div class="scrollrowitem2"> Column B </div>
<div class="scrollrowitem3"> Column C</div>
</div>
....etc
</div>

if you have a look online example in IE then in Opera you'll see what I mean. <snip> ooops no URLs see TOS #13 & #20 [webmasterworld.com]

[edited by: SuzyUK at 5:33 pm (utc) on June 4, 2004]
[edit reason] URL snipped [/edit]

SuzyUK

5:45 pm on Jun 4, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Prof_Jozz - Welcome to WebmasterWorld

hmmm yes I see it, don't ask me why or if it's a bug I can't work it out just now,

a solution is to float the scrollarea div too..

Suzy