<!DOCTYPE html><!-- webkit-test-runner [ LayoutFormattingContextEnabled=true InlineFormattingContextIntegrationEnabled=false ] --> | |
<style> | |
.container { | |
float: left; | |
background-color: red; | |
} | |
.child_floating { | |
float:left; | |
width: 100px; | |
height: 100px; | |
background-color: green; | |
} | |
</style> | |
<div class=container> | |
<div class=child_floating></div> | |
<div class=child_floating></div> | |
<div class=child_floating></div> | |
</div> |