I try to center the photos I add to my posts, but WordPress.com strips off the style
attribute from my tags.
Anybody know how I can center my photos?
I try to center the photos I add to my posts, but WordPress.com strips off the style
attribute from my tags.
Anybody know how I can center my photos?
did u try teh center tag?
looking at the CSS for the theme, you should be able to add the class=”center” to the img tag.
Oh, thanks for the class=”center”. Should have thought of that myself.
Ah well, it strips off the
class
attribute too…I’ve done it using the button marked “Align Center” in the toolbar. That button creates div align=”center”.
The correct code is
Hope you figured this out by now, if not hope this works for you!
Sorry
class=”centered”