Positioning of div elements corresponded with images


#1

Hi. I’m a little fetus when it comes to coding, and I’ve got a school project due tomorrow. How do I position 4 div elements on the same line, with pictures positioned exactly underneath them? Thanks!!


#2

sounds like you need display: inline-block if you want it simple, or something a little more complicated with flexbox or even a grid.

a table is also an option. So many possibilities


#3

Thanks so much of your response. But I’ve already figured out another way. But maybe this way is better than the way I did.


#4

i just listed what came to mind, so many ways to do this. Doesn’t mean my approach is better.

How did you do it?