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-family: Ahem; | |
9 font-size: 10px; | |
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 #region1, #region2, #region3 { | |
23 border: 1px solid black; | |
24 -webkit-flow-from: flow1; | |
25 } | |
26 | |
27 #region1 { | |
28 width: 200px; | |
29 height: 100px; | |
30 } | |
31 | |
32 #region2 { | |
33 width: 300px; | |
34 height: 180px; | |
35 } | |
36 | |
37 #region3 { | |
38 width: 120px; | |
39 height: 120px; | |
40 } | |
41 </style> | |
42 | |
43 <div id="content"> | |
44 <div id="first-box"> | |
45 <div id="second-box"> | |
46 <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> | |
47 <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> | |
48 <p>This line of text should not get out of the region. This line of
text should not get out of the region.</p> | |
49 </div> | |
50 </div> | |
51 </div> | |
52 | |
53 <div id="container"> | |
54 <div id="region1"></div> | |
55 <div id="region2"></div> | |
56 <div id="region3"></div> | |
57 </div> | |
OLD | NEW |