HighDots Forums  

Strange Overflow-y error in IE

alt.html.dhtml alt.html.dhtml


Discuss Strange Overflow-y error in IE in the alt.html.dhtml forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Kim Jakobsen
 
Posts: n/a

Default Strange Overflow-y error in IE - 12-14-2006 , 12:49 AM






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

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.