Is it possible to center a picture added in a question on the SE sites? I can not find any centering option on the help pages.

| |

This was answered on Meta.StackExchange a number of years ago. There are two answers

Method 1:

Using <pre></pre> tags to manually position the HTML image call (in this case, <img src="http://i.stack.imgur.com/Y9ETl.png alt="http://i.stack.imgur.com/Y9ETl.png" title="CENTERED!">). As an example, look here:


Note that I had to manually add the 22 spaces to center that (it looks centered on my monitor at least!).

Method 2:

Using many &nbsp;'s in front of the image (in this case ![alt text][1] where [1]: http://i.stack.imgur.com/Y9ETl.png)

                                   this is my profile image

There are 35 of those &nbsp; in that line to center it.

| |

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .