Images in different rows in HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 5

Images in different rows in HTML

I need to put 3 images, each in different row, aligned left, center and right. Whenever I align them they end up in the same row. I can't use bootstrap, just HTML and CSS so I was wondering how can I get the wanted result.

22nd Oct 2017, 4:32 PM
Maya
Maya - avatar
7 Answers
+ 4
it still makes the same problem
22nd Oct 2017, 8:42 PM
Maya
Maya - avatar
+ 4
Thanks a lot :D
22nd Oct 2017, 8:47 PM
Maya
Maya - avatar
0
show your code
22nd Oct 2017, 6:46 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
put every img tag inside div tags
22nd Oct 2017, 8:36 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
0
and set text-align for this divs
22nd Oct 2017, 8:37 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar
22nd Oct 2017, 8:46 PM
Yaroslav Pieskov
Yaroslav Pieskov - avatar