public
Created

IE 7 scroll bar issue using PIE.htc behavior

  • Download Gist
pie_ie7_scrollbar_issue.html
HTML
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML Strict//EN">
<html>
<head>
<style>
.box {
padding: 10px;
width: 600px;
behavior: url(PIE.htc);
border: 1px solid black;
border-radius: 10px;
background-color: white;
}
.scroller {
overflow: auto;
*overflow-x: auto;
*overflow-y: hidden;
*padding-bottom: 17px;
}
.box input {
width: 320px;
}
.combo {
white-space: nowrap;
}
</style>
</head>
<body>
<div class="box">
<div class="scroller">
<table>
<tr>
<td>
<div>
<span class="combo"><span><span><span><input /><span>&nbsp;</span></span></span></span></span>
</div>
</td>
<td>
<div>
<span class="combo"><span><span><span><input /><span>&nbsp;</span></span></span></span></span>
</div>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.