OLD | NEW |
| (Empty) |
1 <!doctype html> | |
2 | |
3 <style> | |
4 html { -webkit-writing-mode: vertical-lr } | |
5 | |
6 .test_paragraph { | |
7 margin-left: 1em; | |
8 margin-right: 1em; | |
9 text-align: justify; | |
10 font-family: Ahem; | |
11 font-size: 10px; | |
12 -webkit-font-smoothing: none; | |
13 } | |
14 | |
15 /* Created to justify the last line of text in the div */ | |
16 #paragraph1:after { | |
17 content: " ____"; | |
18 line-height: 0; | |
19 visibility: hidden; | |
20 } | |
21 | |
22 #region1 { | |
23 border: 1px solid black; | |
24 width: 190px; | |
25 height: 90px; | |
26 padding: 5px; | |
27 } | |
28 | |
29 #first-box1 { | |
30 border: 1px solid blue; | |
31 border-right: none; | |
32 } | |
33 | |
34 #second-box1 { | |
35 margin:10px; | |
36 border: 1px solid green; | |
37 border-right: none; | |
38 width: 183px; | |
39 height: 66px; | |
40 } | |
41 | |
42 #first-paragraph2 { | |
43 margin-left: 0px; | |
44 } | |
45 | |
46 /* Created to justify the last line of text in the div */ | |
47 #third-paragraph2:after { | |
48 content: " ____"; | |
49 line-height: 0; | |
50 visibility: hidden; | |
51 } | |
52 | |
53 #region2 { | |
54 border: 1px solid black; | |
55 width: 290px; | |
56 height: 170px; | |
57 padding: 5px; | |
58 } | |
59 | |
60 #first-box2 { | |
61 border: 1px solid blue; | |
62 border-left: none; | |
63 border-right: none; | |
64 } | |
65 | |
66 #second-box2 { | |
67 margin-top:10px; | |
68 margin-left: -5px; | |
69 padding: 0px; | |
70 border: 1px solid green; | |
71 border-left: none; | |
72 border-right: none; | |
73 width: 300px; | |
74 height: 146px; | |
75 } | |
76 | |
77 #paragraph3 { | |
78 margin-left: 0px; | |
79 } | |
80 | |
81 #region3 { | |
82 border: 1px solid black; | |
83 width: 110px; | |
84 height: 110px; | |
85 padding: 5px; | |
86 } | |
87 | |
88 #first-box3 { | |
89 border: 1px solid blue; | |
90 border-left: none; | |
91 } | |
92 | |
93 #second-box3 { | |
94 margin:10px; | |
95 margin-left: -5px; | |
96 border: 1px solid green; | |
97 border-left: none; | |
98 height: 86px; | |
99 } | |
100 </style> | |
101 | |
102 <div id="content"> | |
103 <div id="region1"> | |
104 <div id="first-box1"> | |
105 <div id="second-box1"> | |
106 <div class="test_paragraph" id="paragraph1">This line of text sh
ould not get out of the region. This line of text should not get</div> | |
107 </div> | |
108 </div> | |
109 </div> | |
110 | |
111 <div id="region2"> | |
112 <div id="first-box2"> | |
113 <div id="second-box2"> | |
114 <div class="test_paragraph" id="first-paragraph2">out of the reg
ion. This line of text should not get out of the region. This line of text shoul
d not get out of the region.</div> | |
115 <div class="test_paragraph">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 the region. This line of text should not get out of
the region.</div> | |
116 <div class="test_paragraph" id="third-paragraph2">This line of t
ext should</div> | |
117 </div> | |
118 </div> | |
119 </div> | |
120 | |
121 <div id="region3"> | |
122 <div id="first-box3"> | |
123 <div id="second-box3"> | |
124 <div class="test_paragraph" id="paragraph3">not get out of the r
egion.</div> | |
125 </div> | |
126 </div> | |
127 </div> | |
128 </div> | |
OLD | NEW |