This method places a centered text on top of a bitmap object. You can modify the method to add parameters like a custom color, alignment or others.

I recently upgraded my WordPress to 3.1 and I wondered why the aligncenter attribute inside the img tag does not work anymore. The alignright works okay. It is only the center alignment that is having problems.

So it seems WordPress changed a few things and themes that do not display the image alignment correctly need the extra code (below) added to make it work. You can add this CSS code at the bottom of your styles.css.

Related Posts Plugin for WordPress, Blogger...