mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 04:27:37 +00:00
23 lines
318 B
HTML
23 lines
318 B
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<style type="text/css">
|
|
div {
|
|
display: table;
|
|
}
|
|
div div {
|
|
float: left;
|
|
width: 200px;
|
|
border: 2px solid #000;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<div>First float</div>
|
|
<script type="text/javascript">b=document.body.offsetHeight;</script>
|
|
<div>Second float</div>
|
|
</div>
|
|
</body>
|
|
</html>
|