#Image Adjusting

7 messages · Page 1 of 1 (latest)

acoustic shard
#

How can I move the picture into the middle of the webpage?

LANGUAGE: HTML

analog onyx
#

you can't do it with html, you will need css to do it

#
some_element {
display: flex;
justify-content: center;
align-items: center;
}
vague sinew
#

Where some-element is a tag that the image is inside of.

#

That said I don't know that I would suggest blindly making an element flex. You could just as easily give the image margin auto without having to modify a parent element's styles.

acoustic shard