OLD | NEW |
| (Empty) |
1 <!DOCTYPE html> | |
2 <title>CSS 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 <link rel="help" href="http://dev.w3.org/csswg/css-shapes-1/#relation-to-box-mod
el-and-float-behavior"> | |
6 <meta name="flags" content="ahem"> | |
7 <head> | |
8 <style> | |
9 .container { | |
10 font: 20px/1 Ahem, sans-serif; | |
11 width: 60px; | |
12 height: 100px; | |
13 border: 1px solid black; | |
14 color: green; | |
15 display: inline-block; | |
16 background-color: red; | |
17 -webkit-writing-mode: vertical-lr; | |
18 } | |
19 | |
20 #float-left { | |
21 float: left; | |
22 width: 20px; | |
23 height: 100px; | |
24 } | |
25 | |
26 #float-right { | |
27 float: right; | |
28 width: 20px; | |
29 height: 100px; | |
30 } | |
31 </style> | |
32 | |
33 <body> | |
34 <p>This should display two green rectangles. You should not see any red.</p> | |
35 <div class="container"> | |
36 XXXXX | |
37 XXXXX | |
38 XXXXX | |
39 </div> | |
40 <div class="container"> | |
41 XXXXX | |
42 XXXXX | |
43 XXXXX | |
44 </div> | |
45 </body> | |
OLD | NEW |