This Works In WordPress And Anything HTML
This is a nice simple technical tip on how to center things in WordPress and keep them centered. It will work with anything HTML but is particularly useful in WordPress as when you center things in WordPress the editor strips the centering out sometimes.
For example, if you embed a Youtube video and try centering it, the editor will often strip the centering out. You can try saving it from the text/HTML tab but it’s a hit and miss business. It also depends on what version of WordPress and which editor that you are using but here’s a very simple way to add centering that almost always works, the WordPress editor doesn’t strip it out, well it’s worked up to now 🙂