- 1

how to create two div elements side by side

12th Aug 2020, 9:15 AM
Václav Hajšman
Václav Hajšman - avatar
3 ответов
+ 2
Make their display property set to inline block
12th Aug 2020, 9:53 AM
Abhay
Abhay - avatar
+ 1
Every div element starts in a new line. So to work that, I think you need to use like a frame or table side by side otherwise may not possible. Use span tag instead.......
12th Aug 2020, 9:51 AM
Jayakrishna 🇮🇳
0
Thank you
12th Aug 2020, 9:53 AM
Václav Hajšman
Václav Hajšman - avatar