WordPress.org

Support

Support » How-To and Troubleshooting » Aligning images?

Aligning images?

Viewing 7 replies - 1 through 7 (of 7 total)
  • Try putting the images all on one line with no gaps when writing the code ?

    I’ve tried using the image toggle code WP gives:
    <!–wp:pic src=”yourphoto.jpg”–>
    and then trying to add the same line next to it and that doesn’t work either.
    Anyone have any ideas?
    Thanks
    Randy

    Figured it out, sorta.
    I used a table within the post. The only problem with this is that the images won’t automatically go to the next row once the above row gets full (I think). Can’t really complain though, but if someone has a better method, I’d really appreciate it.

    You can define a new image class “left” in your wp-layout.css that “float”s the images, with the following:
    img.left{
    float: left
    }
    Then when you insert the image, add the class to the image tag:
    img class=”left”
    And they will flow nicely just like normal text.
    Check out the floatorial:
    http://css.maxdesign.com.au/floatutorial/

    I think what you are specifically looking for can be found at this page.

    Thanks a bunch guys, I’ll try this out right now.

    Bryan Villarin

    @btvillarin

    Happiness Engineer at Automattic

    dotann: Thanks for that tutorial! I was going to ask about that specific thing, but you’ve done it for me inadvertently. Ever think of registering? 😛

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Aligning images?’ is closed to new replies.
Skip to toolbar