blob: 7c063097bc031427e55ecc0db7282b5c3b15c88e [file] [log] [blame]
<!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: 20px;
height: 100px;
border: 1px solid black;
color: green;
display: inline-block;
-webkit-writing-mode: vertical-lr;
}
#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>