Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
15

How do I change the position of an image

GageLugo
GageLugo

What code do I have to use to change the position of an image in html code?

3 years ago
You are viewing a single comment. View All
5
SixBeeps
SixBeeps

You have to use CSS.

img { display: block; margin-left: auto; margin-right: auto; width: 40%; }
3 years ago