0
how to put 2 div tags side by side in html ?
2 Respuestas
+ 1
best way is use float:left for 1st div and float: right for 2nd div
0
there are many ways
1:
div {
display: inline-block;
}
2:
div {
float:left;
width:50%;
}
3:
body {
display:flex;
}