How do you align a table in wordpress to the right while allowing text to wrap?

Discussion in 'HTML & Website Design' started by Chris Guthrie, Nov 12, 2008.

  1. #1
    Basically I'm using this theme called Primepress. It's a free one.

    And what I'm trying to do is place some tables in the wordpress post and align them to the right. Then I want to be able to have the text sit right next to it (wrap)

    But I'm having trouble. Here is how I used to do it with images but the same technique won't work with tables.

    <span style="margin: 2px; float: right;">image code</span>
    PHP:
    Any ideas?
     
    Chris Guthrie, Nov 12, 2008 IP
  2. rene7705

    rene7705 Peon

    Messages:
    233
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    on the <TD>, add

    style="text-align:right"

    ?
     
    rene7705, Nov 12, 2008 IP