How To Make Horizontal Division Using Html Div Tag And Css
I'm trying to make two horizontal divisons using
tag in html, but I couldn't make it. Can anyone help me make horizontal division using html and css with
ta
Solution 1:
<div id="firstDivistion" class="division"></div>
<div id="secondDivistion" class="division"></div>
.division{
width:50%;
height:100px;
float:left;
}
Solution 2:
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.
Post a Comment for "How To Make Horizontal Division Using Html Div Tag And Css"