blob: 0336264c34589a73bbc13531d9ea365a9adbefe6 [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/#relation-to-box-model-and-float-behavior">
<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 vertical 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>