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: 100px; | |
9 height: 75px; | |
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: 75px; | |
27 height: 50px; | |
28 } | |
29 | |
30 .right { | |
31 float: right; | |
32 width: 75px; | |
33 height: 50px; | |
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 of each.</p> | |
39 <div class="container left-text"> | |
40 <div class="left"></div> | |
41 X<br/> | |
42 X<br/> | |
43 XXXX<br/> | |
44 </div> | |
45 | |
46 <div class="container right-text"> | |
47 <div class="right"></div> | |
48 X<br/> | |
49 X<br/> | |
50 XXXX<br/> | |
51 </div> | |
52 </body> | |
OLD | NEW |