forked from meyerweb/css-tests
-
Notifications
You must be signed in to change notification settings - Fork 0
/
float-inline2.html
51 lines (49 loc) · 1.7 KB
/
float-inline2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"
"http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title>Floats and Inline Boxes</title>
<style type="text/css">
<!--
div {border: 3px double black; margin: 2em;}
h3, h4 {margin: 0.25em;}
h3 {border: 1px solid #DED;}
h3, .inline {display: inline;}
h4 {background: #DDE;}
h4 {float: right; width: 50%;}
-->
</style>
</head>
<body>
<div>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h3>This is an inline H3</h3>
<h4>This is a block h4</h4>
</div>
<div>
Lorem ipsum, dolor sit amet, consectetuer adipiscing elit, sed diam nonummy nibh euismod tincidunt ut laoreet dolore magna aliquam erat volutpat. Ut wisi enim ad minim veniam, quis nostrud exerci tation ullamcorper suscipit lobortis nisl ut aliquip ex ea commodo consequat. Duis autem vel eum iriure dolor in hendrerit in vulputate velit esse molestie consequat, vel illum dolore eu feugiat nulla facilisis at vero eros et accumsan et iusto odio dignissim qui blandit praesent luptatum zzril delenit augue duis dolore te feugait nulla facilisi.
<h4 class="inline">This is an inline h4</h4>
</div>
</body>
</html>