I\'m trying to make two horizontal divisons using
<div id="firstDivistion" class="division"></div>
<div id="secondDivistion" class="division"></div>
.division{
width:50%;
height:100px;
float:left;
}
Set the float
property for each div
to be matched, for example left
to each, give each of them enough width so that the parent contains them.
`<div style='float:left'>stuffs</div>
<div style='float:right'>stuffs</div>
<div style='clear:both'></div>`
Works well in every cases and is followed in many places...