+ 1

What actually prevents two imported images from occupying the same position.?

We don't always define the positions for the images, yet they are not superimposed on each other. What actually prevents that?

1st Aug 2019, 11:39 AM
Charnel
Charnel - avatar
2 ответов
+ 5
The very positioning of elements when adding to this interferes. Elements line up from left to right, from top to bottom. To overlay one image on another, you must set the position: absolute property, coordinates and z-index to the element that should overlap.
1st Aug 2019, 11:56 AM
Anna/Аня
Anna/Аня - avatar
+ 2
Thanks for your response.
1st Aug 2019, 12:33 PM
Charnel
Charnel - avatar