Margin around ouside of table

Discussion in 'HTML & Website Design' started by GPS Mapper, Nov 12, 2006.

  1. #1
    Hi,

    I'm using the following to get text to wrap around an AdSense ad:

    <table width="300" align="left">
    <tbody><tr><td>
    ADSENSE CODE
    </td></tr></tbody></table>

    How can I get a little spacing around the right edge, so the text doesn't run up nearly against it?

    I'm sure there are better ways to do this, but I'm a non-techie (CSS scares me!) and I'm doing this on a TypePad blog.

    Thanks for any help you can offer.
     
    GPS Mapper, Nov 12, 2006 IP
  2. dp-user-1

    dp-user-1 Well-Known Member

    Messages:
    794
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    110
    #2
    <table width="300" align="left" cellpadding="10">
    Code (markup):
     
    dp-user-1, Nov 12, 2006 IP
    GPS Mapper likes this.
  3. GPS Mapper

    GPS Mapper Peon

    Messages:
    267
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #3
    That did it! Thank you!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
     
    GPS Mapper, Nov 12, 2006 IP
  4. dp-user-1

    dp-user-1 Well-Known Member

    Messages:
    794
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    110
    #4
    No problem. :)
     
    dp-user-1, Nov 12, 2006 IP
  5. dp-user-1

    dp-user-1 Well-Known Member

    Messages:
    794
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    110
    #5
    You should fix that.
     
    dp-user-1, Nov 12, 2006 IP
  6. fadetoblack

    fadetoblack Peon

    Messages:
    416
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #6
    cell padding would do just fine , u can add cellspacing too if u want margin between tables
     
    fadetoblack, Nov 12, 2006 IP
  7. GPS Mapper

    GPS Mapper Peon

    Messages:
    267
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thanks. 'Tis fixed.
     
    GPS Mapper, Nov 12, 2006 IP