Title: problem with image alignment
Last modified: August 19, 2016

---

# problem with image alignment

 *  Resolved [bage1](https://wordpress.org/support/users/bage1/)
 * (@bage1)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/problem-with-image-alignment/)
 * I seem to have a problem with image alignment, something in my stylesheet is 
   preventing me from aligning them / wrapping text around them.
 * I’m trying to align an image to the left so that text would wrap next to it, 
   but am only getting this: [http://i32.tinypic.com/fuvv6f.jpg](http://i32.tinypic.com/fuvv6f.jpg)
 * here is my CSS:
 *     ```
       /[huge chunk of code moderated - please use a pastebin or link to file]
       ```
   

Viewing 8 replies - 1 through 8 (of 8 total)

 *  [Peter Boosten](https://wordpress.org/support/users/pboosten/)
 * (@pboosten)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/problem-with-image-alignment/#post-1183049)
 * please provide a link to your website.
 * Peter
 *  Thread Starter [bage1](https://wordpress.org/support/users/bage1/)
 * (@bage1)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/problem-with-image-alignment/#post-1183107)
 * sorry about the lengthy paste, here is the CSS: [http://pastebin.com/m7bfee292](http://pastebin.com/m7bfee292)
 *  [Peter Boosten](https://wordpress.org/support/users/pboosten/)
 * (@pboosten)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/problem-with-image-alignment/#post-1183115)
 * #content img {
    padding: 0; border: 0; max-width: 100%; margin: 5px 5px 5px 0;**
   float: left;** }
 *  Thread Starter [bage1](https://wordpress.org/support/users/bage1/)
 * (@bage1)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/problem-with-image-alignment/#post-1183123)
 * I tried that earlier, but it causes ALL images to align left despite what alignment
   I choose for them individually.
 * this way, even if I have `class="alignnone"` in the image attributes, it looks
   like this: [http://i29.tinypic.com/2d8qn1v.jpg](http://i29.tinypic.com/2d8qn1v.jpg)
 * the text is forced to the right side of the image even though its entered below
   it. How would I be able to choose whether the text is below the image or next
   to it?
 *  [Peter Boosten](https://wordpress.org/support/users/pboosten/)
 * (@pboosten)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/problem-with-image-alignment/#post-1183125)
 * Now I’m confused: this is what you asked earlier:
 * > I seem to have a problem with image alignment, something in my stylesheet is
   > preventing me from aligning them / wrapping text around them.
 * And now you say you want the text below the image?
 * Anyway, you don’t want images to appear inline, because that way it’ll become
   part of the text.
 * Peter
 *  Thread Starter [bage1](https://wordpress.org/support/users/bage1/)
 * (@bage1)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/problem-with-image-alignment/#post-1183142)
 * at first I couldn’t get text next to an image even if I specified so when adding
   the image (img class=alignleft). it was still showing like in the first screeshot
   link, at the first row of the text.
 * if I add “float: left” to the CSS, it forces ALL images to left instead of allowing
   me to manually choose how its placed.
 * what I would like to do is be able to manually enter alignment for each image,
   so that some can be aligned to the left, others simply above or below text, some
   to the right etc.
 * thanks for your help
 *  [Peter Boosten](https://wordpress.org/support/users/pboosten/)
 * (@pboosten)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/problem-with-image-alignment/#post-1183147)
 * oke, clear… let me thing about that a minute 😉
 * Peter
 *  Thread Starter [bage1](https://wordpress.org/support/users/bage1/)
 * (@bage1)
 * [16 years, 7 months ago](https://wordpress.org/support/topic/problem-with-image-alignment/#post-1183150)
 * I looked through other themes, and found the alignments missing in mine (below),
   this seemed to correct it. I didn’t realize it before as I was only looking for
   something directly under parts with “img” 🙂
 *     ```
       .aligncenter,
       		div.aligncenter {
       		display: block;
       		margin-left: auto;
       		margin-right: auto;
       		}
   
       	.alignleft {
       		float: left;
       		}
   
       	.alignright {
       		float: right;
       		}
       ```
   

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘problem with image alignment’ is closed to new replies.

 * 8 replies
 * 2 participants
 * Last reply from: [bage1](https://wordpress.org/support/users/bage1/)
 * Last activity: [16 years, 7 months ago](https://wordpress.org/support/topic/problem-with-image-alignment/#post-1183150)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
