OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 | |
3 <style> | |
4 #content { | |
5 -webkit-flow-into: flow1; | |
6 text-align: justify; | |
7 padding: 5px; | |
8 font-size: 10px; | |
9 font-family: Ahem; | |
10 -webkit-font-smoothing: none; | |
11 } | |
12 | |
13 #first-box { | |
14 border: 1px solid blue; | |
15 } | |
16 | |
17 #second-box { | |
18 margin:10px; | |
19 border: 1px solid green; | |
20 } | |
21 | |
22 #float1 { | |
23 float: right; | |
24 width: 70px; | |
25 height: 35px; | |
26 border: 1px solid red; | |
27 } | |
28 | |
29 #region1, #region2, #region3 { | |
30 border: 1px solid black; | |
31 -webkit-flow-from: flow1; | |
32 } | |
33 | |
34 #region1 { | |
35 width: 200px; | |
36 height: 100px; | |
37 } | |
38 | |
39 #region2 { | |
40 width: 300px; | |
41 height: 180px; | |
42 } | |
43 | |
44 #region3 { | |
45 width: 120px; | |
46 height: 120px; | |
47 } | |
48 </style> | |
49 | |
50 <div id="content"> | |
51 <div id="first-box"> | |
52 <div id="second-box"> | |
53 <p>This line of text should not get out of the region. This line of
text should not get <div id="float1">Float 1</div>out of the region. This line o
f text should not get out of the region. This line of text should not get out of
the region.</p> | |
54 <p>This line of text should not get out of the region. This line of
text should not get out of the region. This line of text should not get out of t
he region. This line of text should not get out of the region.</p> | |
55 <p>This line of text should not get out of the region. This line of
text should not get out of the region.</p> | |
56 </div> | |
57 </div> | |
58 </div> | |
59 | |
60 <div id="container"> | |
61 <div id="region1"></div> | |
62 <div id="region2"></div> | |
63 <div id="region3"></div> | |
64 </div> | |
OLD | NEW |