Fix your Wordpress CSS for Text Wrapping

by Dan

You need to add this snippet to your CSS stylesheet to have word wrapping work correctly on your images, this saves me a ton of time as now I do not have to double edit my images as I post.  With this change along with the new stuff coming in 2.7 I can finally use Wordpresses interface to post!

img.alignleft, div.alignleft {
float:left;
margin:0 0.5em 0.5em 0;
}
img.alignright, div.alignright {
float:right;
margin:0 0 0.5em 0.5em;
}
img.aligncenter, div.aligncenter {
text-align:center;
margin:0 auto;
}

Related posts:

  1. Change Default Uploader in Wordpress For some reason some of my sites always freeze...
  2. MySQL – Find and Replace Statement The other day I had to move a blog...

Related posts brought to you by Yet Another Related Posts Plugin.

Comments are closed.