Ok so here’s the situation.

You’ve upgraded to wordpress version 2.6(1) and now when you try to align images, it doesn’t work!

It probably looks ok in the text editor and then when you save, it wont wrap the text.

FIX: So here’s how to fix it.

Basically the new wordpress version relies on some css that has to be in your style sheet.

They didn’t seem to shout about this, so if your theme was designed for a previous version (very likely) then it doesn’t have the css needed.

It’s easy to update, and you don’t need to understand the code.

Just download the style.css file (creating a copy of this file is a good idea incase you screw it up) and you can open it in notepad, now copy and paste the following in anywhere.

img.centered {
display: block;
margin-left: auto;
margin-right: auto;
}

img.alignright {
padding: 4px;
margin: 0 0 2px 7px;
display: inline;
}

img.alignleft {
padding: 4px;
margin: 0 7px 2px 0;
display: inline;
}

.alignright {
float: right;
}

.alignleft {
float: left;
}

That’s it just save the file and upload it overwriting the one on your server, and you’re done.

Now aligning images in the editor should work fine on your site.

If it doesn’t work, simply make sure your backup copy of style.css is named as it was and overwrite it again, back to sqaure 1.