PDA

View Full Version : URGENT, Need help with overflowing content on a DIV (FF works fine, IE doesn't) !!


jak_uy
11th January 08, 01:02 PM
Hi everyone, I'm from Uruguay (so I speak Spanish), so please be patient with my basic English :)
I really need help!!


I'm working with a fourth generation language (4GL) development tool that automaticly generates the HTML code for

me. Of course it isn't an optimized code, but it works... except now!

I have 2 DIV that contains 1 table each. I put both DIVs into another main table to place one on the left side, and

the other on the right (50% width x 2).

The problem is when the content of one table is larger then the width of the DIV, which takes the width from the

main table. In FireFox works fine (thanks to overflow property of the DIV), but it doesn't work in IE (instead of

show the scroll bar, expands the cell that contains the content).

I found a short code that represents my problem:
It works in FF. In IE does not (regardless IE6 or IE7).

<table width="10%">
<tr>
<td bgcolor="yellow">
<div style="overflow:auto;">1111111111111111111111111111111111111111</div>
</td>
</tr>
</table>




Thanks !!!!!!!!!!!
Best regards.
Matías.

chrishirst
23rd January 08, 11:31 AM
for overflow auto to work correctly the div needs fixed sizes