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 padding: 1px; | |
12 } | |
13 p > #cover { | |
14 position: absolute; | |
15 top: 0; | |
16 left: 0; | |
17 right: 0; | |
18 bottom: 0; | |
19 background: green; | |
20 display: block; | |
21 } | |
22 </style> | |
23 </head> | |
24 <body> | |
25 <p> | |
26 | |
27 <span id="cover"> </span> | |
28 </p> | |
29 <p> | |
30 A green square and no text should appear above. | |
31 </p> | |
32 </body> | |
33 </html> | |
OLD | NEW |