how can i make 3 div box in one row with inline css? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

how can i make 3 div box in one row with inline css?

i want to make 3 box with div in one row

15th Jul 2018, 7:14 AM
Muhammad Abdul Halim
Muhammad Abdul Halim - avatar
2 Answers
+ 1
You can make a class for the boxes with float:left, or if inline style was really needed; <div style="float:left;">First</div> <div style="float:left;">Second</div> <div style="float:left;">Third</div> Hth, cmiiw
15th Jul 2018, 7:32 AM
Ipang
0
Hi Muhammad Abdul Halim, Why do you want to use inline CSS instead of an internal or external stylesheet?
15th Jul 2018, 7:33 AM
Janningā­
Janningā­ - avatar