I have this code: <div class="container"> <div class="smallColumn">Small</div> <div class="smallColumn">Small</div> <div class="smallColumn">Small</div> <div class="largeColumn">Large</div> <div class="smallColumn">Small</div> <div class="smallColumn">Small</div> <div class="smallColumn">Small</div> <div class="smallColumn">Small</div> <div class="smallColumn">Small</div> </div> .smallColumn{ float:left; width: 300px; display: inline; } .largeColumn{ width: 1700px; } I want as many small columns in a row that fit the screen. How many, depends on the size […]
The post floating elements ignoring larger element appeared first on BlogoSfera.