October 1st in Design, Wordpress by .

Remove text wrap around image in wordpress

i have often seen images inside wordpress posts floating and text content would wrap around it. It wont be a nice sight seeing images stacked either to left or right.

Normally if you float: left all the text would wrap around image. But to remove the text flowing around image you have to specify float: none so that the image would stand alone and text would flow belo.

img {
float: none;
padding: 5px;
}

Try it! as float: left and clear: both didnt work for me.

Similar Posts:

2 Comments

  • Piper
    February 24, 2010
  • Erik
    April 27, 2011

Leave A Comment.