mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 23:55:06 +00:00

Handle the clear property for floating boxes and add tracking for vertical clearence within an inline formatting context.
21 lines
No EOL
222 B
HTML
21 lines
No EOL
222 B
HTML
<style>
|
|
.left {
|
|
float: left;
|
|
}
|
|
|
|
.right {
|
|
float: right;
|
|
}
|
|
|
|
.c {
|
|
margin-top: 70px;
|
|
clear: both;
|
|
float: left;
|
|
}
|
|
</style>
|
|
|
|
<div>
|
|
<h1 class="left">A</h1>
|
|
<h1 class="right">B</h1>
|
|
<div class="c">X</div>
|
|
</div> |