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: 100px; | |
12 height: 20px; | |
13 border: 1px solid black; | |
14 color: green; | |
15 display: inline-block; | |
16 background-color: red; | |
17 } | |
18 </style> | |
19 | |
20 <body> | |
21 <p>This should display two horizontal green bars. You should not see any red
.</p> | |
22 <div class="container"> | |
23 XXXXX | |
24 </div> | |
25 <div class="container"> | |
26 XXXXX | |
27 </div> | |
28 </body> | |
OLD | NEW |