What theme are you using? It may be out of date and need updated css added to its style.css:
http://codex.wordpress.org/CSS#Wordpress_Generated_Classes
I also would like to solve this problem, iridiax, your solution wasn’t too clear as to what I’m supposed to do with that .css file
I’m using Cutline 3. Here’s the site:
http://www.incontention.com
Can’t figure this out. I tried altering the css but it seems that doesn’t work.
rrbest: Older themes lack some of the css needed by newer versions of WordPress for image and caption alignment. Copy the css from the WordPress_Generated_Classes and paste it into your theme’s style.css file.
kristapley: I couldn’t find class=”aligncenter” anywhere in your front page source code, but I did see class=”alignnone” for your images.
So what should I do? Add class=”aligncenter”?
I added the code listed in your link and still can’t align images. This makes NO sense whatsoever.
ANYONE?? Any of the WP support people want to chime in or something. This is unbelievably silly.
I usually just write <center>
in the html code.
Kind of a band aid, no? Again, nothing from the WordPress support team?
And putting the tag doesn’t work either by the way.
Switch to the default theme and see if it works then. If it does, then it’s a problem with your other theme. If it doesn’t, then temporarily disable all plugins and see if it works then. If it does, then it’s a problem with one of your plugins.
Experiencing the similar issue after upgrading to 2.7.1 yesterday. However, while I (using IE 7) can align text & images when posting, my colleague cannot. He’s also using IE 7.
When examining the HTML code of his post, it shows align=”aligncenter” – and displays centered on the WYSIWYG screen.
Any thoughts on how/why 2 users of the same blog are getting different alignment results?