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 -webkit-writing-mode: vertical-rl; | |
15 } | |
16 | |
17 .left-text { | |
18 text-align: left; | |
19 } | |
20 | |
21 .right-text { | |
22 text-align: right; | |
23 } | |
24 | |
25 .left { | |
26 float: left; | |
27 width: 75px; | |
28 height: 50px; | |
29 } | |
30 | |
31 .right { | |
32 float: right; | |
33 width: 75px; | |
34 height: 50px; | |
35 } | |
36 </style> | |
37 </head> | |
38 <body> | |
39 <p>Test passes if you see two black rectangle boxes with a smaller white rec
tangle in one corner.</p> | |
40 <div class="container left-text"> | |
41 <div class="left"></div> | |
42 X<br/> | |
43 X<br/> | |
44 X<br/> | |
45 XXX<br/> | |
46 </div> | |
47 | |
48 <div class="container right-text"> | |
49 <div class="right"></div> | |
50 X<br/> | |
51 X<br/> | |
52 X<br/> | |
53 XXX<br/> | |
54 </div> | |
55 </body> | |
OLD | NEW |