Why does the FilterScrollBox not clip the content at the edges of the screen? Do you HAVE to set the width of the FilterScrollBox to an explicite pixel value instead of a percentage? If so, then you can't make a scaleable website using scrolling DIVS, and doesn't that then kind of defeat the purpose of scrolling in the first place since the Browser window will handle that...?
Here is the whole HTML document:
Here is the whole HTML document:
Code:
<html>
<head>
<title>Tester</title>
<style Type="text/css">
#FilterContainer {
margin:1px;
border:1px solid #000000;
width:100%;
height:100%;
text-align:left;
padding:1px;
overflow:hidden;
}
#FilterScrollBox {
border:1px solid #000000;
white-space:nowrap;
width:100%;
height:100%;
overflow:scroll;
clip:auto;
}
</style>
</head>
<body>
<table width="100%" border="1">
<tr>
<td>
<div id="FilterContainer">
<span id="FilterScrollBox">
<span style="border:1px solid #000000;background-color:#88AACC;width:250px;">Span1</span>
<span style="border:1px solid #000000;background-color:#88AACC;width:250px;">Span1</span>
<span style="border:1px solid #000000;background-color:#88AACC;width:250px;">Span1</span>
<span style="border:1px solid #000000;background-color:#88AACC;width:250px;">Span1</span>
<span style="border:1px solid #000000;background-color:#88AACC;width:250px;">Span1</span>
<span style="border:1px solid #000000;background-color:#88AACC;width:250px;">Span1</span>
</span>
</div>
</td>
</tr>
</table>
</body>
</html>
[/cod