OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <title>CSS RefTest Reference</title> | |
3 <link rel="author" title="Adobe" href="http://html.adobe.com/"> | |
4 <link rel="author" title="Bem Jones-Bey" href="mailto:bjonesbe@adobe.com"> | |
5 <meta name="flags" content="ahem"> | |
6 <style> | |
7 .container { | |
8 width: 75px; | |
9 height: 100px; | |
10 font: 25px/1 Ahem; | |
11 line-height: 25px; | |
12 border: 10px solid black; | |
13 display: inline-block; | |
14 } | |
15 | |
16 .left-text { | |
17 text-align: left; | |
18 } | |
19 | |
20 .right-text { | |
21 text-align: right; | |
22 } | |
23 | |
24 .left { | |
25 float: left; | |
26 width: 50px; | |
27 height: 75px; | |
28 } | |
29 | |
30 .right { | |
31 float: right; | |
32 width: 50px; | |
33 height: 75px; | |
34 } | |
35 </style> | |
36 </head> | |
37 <body> | |
38 <p>Test passes if you see two black rectangle boxes with a smaller white rec
tangle in one corner.</p> | |
39 <div class="container left-text"> | |
40 <div class="left"></div> | |
41 X<br/> | |
42 X<br/> | |
43 X<br/> | |
44 XXX<br/> | |
45 </div> | |
46 | |
47 <div class="container right-text"> | |
48 <div class="right"></div> | |
49 X<br/> | |
50 X<br/> | |
51 X<br/> | |
52 XXX<br/> | |
53 </div> | |
54 </body> | |
OLD | NEW |