Sort:  

you type < center > < /center > with no spaces anywhere. Then insert your text or image in between the two center signs. I find you need this on every line - if you let it go for a few lines, it will take over the whole document to the end.