How to put two tables side by side in html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How to put two tables side by side in html?

13th Jul 2019, 7:38 AM
usman riaz
usman riaz - avatar
2 Answers
+ 3
You can do it by setting styles with CSS. There are many ways, one example could be to put both tables inside a div element, and make them float: div table { float: left; } Check CSS tab here: https://code.sololearn.com/WNK4usLocX61/?ref=app
13th Jul 2019, 7:56 AM
Tibor Santa
Tibor Santa - avatar
0
Or if you want to have it more or less equaly spaced put it in two div containers with a width of 50%
13th Jul 2019, 9:05 AM
Checker 8763
Checker 8763 - avatar