mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 00:49:46 +00:00
This prevents text from overlapping with each other if a `<br>` with `clear: ..` is used in between.
21 lines
247 B
HTML
21 lines
247 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
.a {
|
|
width: 50px;
|
|
}
|
|
.b {
|
|
background: red;
|
|
float: right;
|
|
height: 50px;
|
|
width: 50px;
|
|
}
|
|
.c {
|
|
clear: right;
|
|
}
|
|
</style>
|
|
<div class="a">
|
|
<div class="b"></div>
|
|
foo
|
|
<br class="c">
|
|
bar
|
|
</div>
|