blob: 2b13b8b343a14e09b82ffa5605c95e43eae093d4 (
plain)
1
2
3
4
5
6
7
8
|
<html>
<!-- This page is loaded in a 200px-square iframe scrolled to #down. -->
<body>
<div id="first" style="height: 150px; background: lightblue;">first</div>
<div id="down" style="height: 250px; background: lightgreen;">second</div>
<script>document.documentElement.offsetWidth;</script>
</body>
</html>
|