RetroZilla/layout/html/tests/block/bugs/263406-7.html
2015-10-20 23:03:22 -04:00

19 lines
605 B
HTML

<!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>