Centering Images

TappedOut forum

Posted on Oct. 19, 2020, 1:01 p.m. by Sultai_Sir

How do you center an image? I can get it onto a page, but I can't center it. Thanks!

Gidgetimer says... #2

Have you tried using html?

<center> Image link </center>

Yields

Epicus Maximus

October 19, 2020 1:44 p.m.

Gidgetimer says... #3

well it was more obviously centered in the preview.

October 19, 2020 1:45 p.m.

Sultai_Sir says... #4

Hey Gidgetimer, thanks so much! It's working like a charm. Sorry to ask the follow-up, but do you know how to enlarge an image? Thanks!

October 19, 2020 1:53 p.m.

Gidgetimer says... #5

I'm not sure, sorry.

October 19, 2020 3:14 p.m.

Sultai_Sir says... #6

Nah, it's fine. No worries!

October 19, 2020 3:19 p.m.

enpc says... #7

gotta use HTML to do that. There are some good tutorials here: w3schools HTML Images

you can use the width property of the image and set it to 100%:

<img src="source goes here" alt="alt text" width=100%>

you can also force the image size by giving the width (and height) in pixels, eg. 200px

October 20, 2020 3:44 a.m. Edited.

smackjack says... #8

Use CSS. (Img src=”imageurl” style=”width: 100%”) but with <>

October 21, 2020 1:46 a.m.

Please login to comment