Ask coding questions

← Back to all posts
does anyone know how to change the x and y position of images in html and how to duplicate them?
mrslep (30)

How do you change the x and y position of an image in html and also how would you duplicate an image

P.S. I am pretty new sooo...

Answered by Coder100 (17126) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (17126)

use position absolute:

<img src="..." class="img">
.img {
  position: absolute;
  top: Y POS;
  left: X POS;
}
mrbluecodes (1)

I have same problem too