how to Align images | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

how to Align images

I want to place one image after another. Lets say 1,2 and 3 are images; i want it to look like this 1. 2. 3. My problem comes when i want to know how to place them in the same line because when i place them it puts one below the other like this: 1. 2. 3. Any advice would be greatly appreciated P.D: can this be done on html or i need other?

3rd Oct 2018, 12:27 AM
Poch
Poch - avatar
2 Answers
+ 5
Good day! Perhaps you can show your attempt in Code Playground so we can look into it? Generally DOM elements (img included) will stay at the same row as long as they are inline or otherwise it will break to the next line if it cannot fit or have a block display. 😉
3rd Oct 2018, 12:46 AM
Zephyr Koo
Zephyr Koo - avatar
3rd Oct 2018, 12:51 AM
¥^$#°√€
¥^$#°√€ - avatar