Title: Floating Images
Last modified: August 19, 2016

---

# Floating Images

 *  [shockenaw](https://wordpress.org/support/users/shockenaw/)
 * (@shockenaw)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/floating-images/)
 * I am trying to get an image to sit to the left of the article, and have the text
   start at the _TOP RIGHT_ of the image. However I am not having any luck figuring
   this out. I know it is a newbie question, if you could help that would be great!

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/floating-images/#post-1372188)
 * your theme’s style.css is probably missing the corresponding styles:
    examples
   taken from the default theme:
 *     ```
       /*	Using 'class="alignright"' on an image will (who would've
       	thought?!) align the image to the right. And using 'class="centered',
       	will of course center the image. This is much better than using
       	align="center", being much more futureproof (and valid) */
   
       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;
       	}
       /* End Images */
       ```
   
 *  Thread Starter [shockenaw](https://wordpress.org/support/users/shockenaw/)
 * (@shockenaw)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/floating-images/#post-1372210)
 * I appreciate the quick reply, however it did not work the way I wanted it to 
   properly..
 * Check out, [http://www.shockenaw.com/indie/owen-steel/](http://www.shockenaw.com/indie/owen-steel/)
 * You will see what I mean
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/floating-images/#post-1372240)
 * Now try adding the CSS that alchymyth suggested…
 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [16 years, 3 months ago](https://wordpress.org/support/topic/floating-images/#post-1372243)
 * i missed to say, that you could try and copy the given css styles to the end 
   of the style.css of your theme.
    and then press CTRL and F5 on your keyboard 
   to refresh the browser cache, to make the style changes visible in your browser.

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

The topic ‘Floating Images’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [Michael](https://wordpress.org/support/users/alchymyth/)
 * Last activity: [16 years, 3 months ago](https://wordpress.org/support/topic/floating-images/#post-1372243)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
