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/#shape-outside-prope
rty"> | |
6 <meta name="flags" content="ahem"> | |
7 <style> | |
8 .container { | |
9 font: 40px/1 Ahem, sans-serif; | |
10 line-height: 40px; | |
11 width: 110px; | |
12 height: 40px; | |
13 overflow: hidden; | |
14 white-space: nowrap; | |
15 background-color: red; | |
16 color: green; | |
17 } | |
18 | |
19 .circle { | |
20 width: 138px; | |
21 height: 40px; | |
22 background-color: green; | |
23 } | |
24 </style> | |
25 | |
26 <body> | |
27 <p>You should see a green rectangle. You shouldn't see any red.</p> | |
28 <div class="container"> | |
29 <div style="float: left" class="circle"></div> | |
30 X | |
31 </div> | |
32 | |
33 <div class="container" style="text-align: right"> | |
34 <div style="float: right" class="circle"></div> | |
35 X | |
36 </div> | |
37 </body> | |
OLD | NEW |