OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <title>Soft Hyphen Test</title> | |
5 <style> | |
6 p { | |
7 text-align: justify; | |
8 width: 250px; | |
9 height: 250px; | |
10 position: relative; | |
11 } | |
12 p > #cover { | |
13 position: absolute; | |
14 top: 0; | |
15 left: 0; | |
16 right: 0; | |
17 bottom: 0; | |
18 background: green; | |
19 display: block; | |
20 } | |
21 </style> | |
22 </head> | |
23 <body> | |
24 <p> | |
25 | |
26 <span id="cover"> </span> | |
27 </p> | |
28 <p> | |
29 A green square and no text should appear above. | |
30 </p> | |
31 </body> | |
32 </html> | |
OLD | NEW |