RetroZilla/layout/html/tests/block/bugs/263406-7.html

19 lines
605 B
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0//EN">
<html>
<head>
<title>CSS Floats: Float Sizing</title>
<style type="text/css">
.table { display: table; }
.float { float: left; border: solid; display: table; }
</style>
</head>
<body>
<div class="table" style="margin-left: 100px">
<div class="float" style="width: 200px">This is a 200px wide float. This is a 200px wide float. This is a 200px wide float. This is a 200px wide float. This is a 200px wide float. </div>
This text should be to the right of the float, and aligned with its top or so.
</div>
</body>
</html>