Skip to main content
3 of 4
Fixup of bad MSO links to MSE links migration

There's no way to centre an image that isn't a bit hackish, it's not functionality that is provided.


If you really must, you could just precede the image by a load of &nbsp; - or wrap the image in <pre> tags and use normal spaces - to manually add spacing to give the appearance of the image being centred (see this MSO post for examples).

However, this might cause problems for viewers on mobile devices and maybe tablets (not tested, but I just have a suspicion...), so I'd actually advice against this - just leave the images where they are.

DMA57361 Mod
  • 18.7k
  • 1
  • 31
  • 37