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