blob: dbf822705369bdc5f69f546975d7d3b67a939f4b [file] [log] [blame]
<!DOCTYPE html>
<style type="text/css">
#container {
font: 20px/1 Ahem;
line-height: 20px;
background-color: red;
width: 40px;
height: 40px;
color: green;
}
#float {
float: left;
width: 20px;
height: 40px;
background: green;
}
#text-margin {
margin-left: 20px;
}
</style>
<body>
<p>You should see a single green square. You should not see any red.</p>
<div id="container">
<div id="float"></div>
<div id="text-margin">X</div>
<div id="text">X</div>
</div>
</body>