gehuangyi20 / ie7-js

Automatically exported from code.google.com/p/ie7-js
0 stars 0 forks source link

checkbox inside div with overflow auto or overflow scroll #180

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.checkbox inside floated div inside scrollable div (overflow auto, height
less than content)
2.All Checkboxes position float above all page elements. In the correct
position but will not scroll with the rest of the content

<div class="bgRowA">
 <div class="bgColB">this
 </div>
 <div class="bgColB">that
 </div>
 <div class="bgColB">£2999.00
 </div>
 <div class="bgColC">this and that</div>
 <div class="bgColA">
 <label>
  <input type="checkbox"/>
 </label>
</div>

.bgColA{
    width:6%;
    float:left;
    color:#FFF;
    overflow:visible;
}
.bgRowA{
    background-color:#FFF;
    overflow:hidden;
    padding: 2px 15px 2px 10px;
    font-size:10px;
}

I expect the checkboxes to scroll with other content.

Using latest IE8.js

P.s.

Love the script. Good work my friend.

Original issue reported on code.google.com by rob%exel...@gtempaccount.com on 1 Jun 2009 at 1:13

GoogleCodeExporter commented 9 years ago
I have the same problem, and isnt need a float div! Only on IE7!

Original comment by kigu...@gmail.com on 15 Oct 2009 at 10:10

GoogleCodeExporter commented 9 years ago
You guys don't make it easy do you? I can barely understand this bug report. 
The sample 
code produces a tiny section of HTML which has no hope of scrolling. If you can 
provide 
a test page that clearly illustrates the bug then I will try to fix it.

Original comment by dean.edw...@gmail.com on 11 Feb 2010 at 6:58