blob: 17c5b2208bd6bb3a3aa2fe6add23e56a068260b4 [file] [log] [blame]
<div id="target" style="width: 200px; height: 100px; background-color: red;">
<div style="width: 100px; background-color: green;">
<span style="float: left; width: 10px; height: 100px;">&nbsp;</span>
<br style="clear: both;">
</div>
</div>
<script>
document.body.offsetTop;
document.getElementById("target").style.width = "100px";
</script>