align=right for images doesn't work in Wordpress...

Discussion in 'WordPress' started by Pixelrage, Dec 28, 2007.

  1. #1
    anyone else having this issue? No matter what I do, I can't get images to align right within a block of text. I even turned the visual editor on and noticed that they appeared correctly in the visual editor, but no the live site...
     
    Pixelrage, Dec 28, 2007 IP
  2. Tearabite

    Tearabite Prominent Member

    Messages:
    4,629
    Likes Received:
    429
    Best Answers:
    0
    Trophy Points:
    300
    #2
    i have the same problem.. I always figured it was in the CSS of the theme i'm using, but i never bothered to look any further.. align=left doesnt look all that bad i guess..
     
    Tearabite, Dec 28, 2007 IP
  3. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    #3
    Yea, just the align="right" attribute on an image will not work in WP.. The align left will but something with the way the containers work the align right does not work on my theme either.

    Try putting it in a div something like this instead -

    <div align="right">
    <img src="img.jpg">
    </div>
     
    Boulder, Dec 28, 2007 IP
  4. MarRome

    MarRome Peon

    Messages:
    865
    Likes Received:
    92
    Best Answers:
    0
    Trophy Points:
    0
    #4
    MarRome, Dec 28, 2007 IP
  5. Boulder

    Boulder Well-Known Member

    Messages:
    806
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    118
    #5
    Yep MarRome, that there looks like exactly what needs to be done in order to use images on the right with text wrap on left.. Thanks for the link.. I will probably try to get my css set up and work this way.

    Boulder
     
    Boulder, Dec 28, 2007 IP