| <!DOCTYPE html> |
| <title>CSS Reference</title> |
| <link rel="author" title="Adobe" href="http://html.adobe.com/"> |
| <link rel="author" title="Bem Jones-Bey" href="mailto:bjonesbe@adobe.com"> |
| <link rel="help" href="http://dev.w3.org/csswg/css-shapes-1/#shape-padding-property"> |
| <meta name="flags" content="ahem"> |
| <head> |
| <style> |
| .container { |
| font: 20px/1 Ahem, sans-serif; |
| width: 100px; |
| height: 20px; |
| border: 1px solid black; |
| color: green; |
| display: inline-block; |
| } |
| |
| #float-left { |
| float: left; |
| width: 20px; |
| height: 20px; |
| } |
| |
| #float-right { |
| float: right; |
| width: 20px; |
| height: 20px; |
| } |
| </style> |
| |
| <body> |
| <p>This should display two green bars, with white squares on opposite sides.</p> |
| <div class="container"> |
| <div id="float-left"> |
| </div> |
| XXXX |
| </div> |
| <div class="container"> |
| <div id="float-right"> |
| </div> |
| XXXX |
| </div> |
| </body> |