blob: 11355e2af3dd317c9fc95973675d6ef9c847cdc2 [file] [log] [blame]
<html>
<head>
<style>
.inlineblock {
display: inline-block;
background-color: green;
}
.child {
float:left;
display: block;
margin: 1em;
background-color:yellow;
width:100px;
height:100px;
}
</style>
</head>
<body>
<p><span class="inlineblock"><span class="child"></span></span></p>