mirror of
https://github.com/rn10950/RetroZilla.git
synced 2024-11-09 09:20:15 +01:00
19 lines
605 B
HTML
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>
|