| <!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-margin-property"> |
| <meta name="flags" content="ahem"> |
| <head> |
| <style> |
| .container { |
| font: 20px/1 Ahem, sans-serif; |
| line-height: 20px; |
| width: 100px; |
| height: 20px; |
| border: 1px solid black; |
| color: green; |
| display: inline-block; |
| -webkit-writing-mode: vertical-rl; |
| } |
| |
| #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 one end.</p> |
| <div class="container"> |
| <div id="float-left"> |
| </div> |
| X X X X |
| </div> |
| <div class="container" style="text-align: right"> |
| <div id="float-right"> |
| </div> |
| X X X X |
| </div> |
| </body> |
| |