[Urgent] How can I make several "div" elements line up horizontally, side by side, inside another "div"? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

[Urgent] How can I make several "div" elements line up horizontally, side by side, inside another "div"?

21st Jun 2018, 3:01 AM
Facu
Facu - avatar
5 Answers
+ 6
Have you tried display: inline-block; in the CSS?
21st Jun 2018, 4:15 AM
bobbie
bobbie - avatar
+ 5
take a look at this, I would suggest maybe putting the image in a auto column that has no width, then the same (auto column) with the info button but using inline CSS define the width https://code.sololearn.com/WSiTH7F0wUWU/?ref=app
21st Jun 2018, 6:27 AM
MCJEH
MCJEH - avatar
+ 4
¿Puedes mostrarnos tu código? Nos facilitará ayudarte. Can you show us your code? It will make it easier to help you.
21st Jun 2018, 4:46 AM
bobbie
bobbie - avatar
+ 1
Yes, I already tried, I think. By the way, if you speak Spanish I would be grateful
21st Jun 2018, 4:17 AM
Facu
Facu - avatar
+ 1
What I need is that the info button is on the other side in the blue box https://code.sololearn.com/WyU1r7alDDGE/?ref=app
21st Jun 2018, 5:38 AM
Facu
Facu - avatar