11 lines
497 B
HTML
11 lines
497 B
HTML
<div style="display: -webkit-box; -webkit-box-orient: vertical;">
|
|
<div style="width: 80px; height: 80px; background-color: blue;">
|
|
<div id="float" style="float: left; width: 20px; height: 110px; background-color: silver;"></div>
|
|
</div>
|
|
<div style="font-family: ahem; width: 80px; height: 80px; background-color: yellow;">Test overhanging floats</div>
|
|
</div>
|
|
<script>
|
|
document.body.offsetTop;
|
|
document.getElementById("float").style.display = "none";
|
|
</script>
|