Strange Overflow-y error in IE -
12-13-2006
, 11:49 PM
Hi group
I am showing a list of divs contatining an image, a checkbox and a span
with som text. The divs are create dynamicly (with AJAX).
These divs, are inside another div, that has overflow-y:auto, and a
fixed height in its stylesheet. So we have something like
<div (with overflow and fixed height)>
<div><img .../><input type=checkbox".../><span>some text</span>
<div><img .../><input type=checkbox".../><span>some text</span>
<div><img .../><input type=checkbox".../><span>some text</span>
<div><img .../><input type=checkbox".../><span>some text</span>
<div><img .../><input type=checkbox".../><span>some text</span>
...
</div>
When there are enough internal divs, I would expect them to be scrool.
This works fine i firefox, but in IE 6.0 I get somthing strange, the
scrrolbar i shown, and all the checkboxes scrools, but the image and the
text does not, it is just show below the outer div.
If I save the generated html code in a file, og opens it in IE 6.0, I
works fine.
I have tried packing the outer div in a table, and to change the divs to
p-tags, but with no luck.
Any pointers anyone?
Kind regards
Kim |