R
Ryan Stewart
The HTML:
<html>
<head>
<title>Blah</title>
<style>
<!--
div#content {
border: 1px solid blue;
height: 75px;
overflow: auto;
position: relative;
width: 100px;
}
div#box {
border: 1px solid red;
height: 25px;
position: absolute;
right: 20px;
width: 25px;
}
-->
</style>
</head>
<body>
<div id="content">
<div id="box">
</div>
<div>
blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah
</div>
</div>
</body>
</html>
This behaves as I would expect it to in IE 6.0. That is, I get a
100x75 blue box with a vertical scrollbar and a 25x25 red box near the
top right corner. In NN 7.0, the red box is gone. It is not completely
gone, just lurking 20px from the right side of my browser window, and
invisible as it is being clipped. If I make the window narrow enough,
the red box comes into view in the outer div. If I remove the
"overflow: auto;" from the content div, it displays as expected, but I
lose the scrollbar which I need. Is there a way out of this?
<html>
<head>
<title>Blah</title>
<style>
<!--
div#content {
border: 1px solid blue;
height: 75px;
overflow: auto;
position: relative;
width: 100px;
}
div#box {
border: 1px solid red;
height: 25px;
position: absolute;
right: 20px;
width: 25px;
}
-->
</style>
</head>
<body>
<div id="content">
<div id="box">
</div>
<div>
blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah
</div>
</div>
</body>
</html>
This behaves as I would expect it to in IE 6.0. That is, I get a
100x75 blue box with a vertical scrollbar and a 25x25 red box near the
top right corner. In NN 7.0, the red box is gone. It is not completely
gone, just lurking 20px from the right side of my browser window, and
invisible as it is being clipped. If I make the window narrow enough,
the red box comes into view in the outer div. If I remove the
"overflow: auto;" from the content div, it displays as expected, but I
lose the scrollbar which I need. Is there a way out of this?