Border Space without using cellpadding/spacing?

Discussion in 'HTML & Website Design' started by dcristo, Jul 10, 2005.

  1. #1
    Without using the cellpadding/cellspacing attributes for a table, is there a way to adjust the left/right margin white space in specific cells of a table? Similar to the leftMargin/rightMargin attribute for the body tag, is there something similar to this to use in td tags?
     
    dcristo, Jul 10, 2005 IP
  2. KingSEO

    KingSEO Peon

    Messages:
    295
    Likes Received:
    28
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use CSS with either style="margin: ..." or a class="tag"
     
    KingSEO, Jul 10, 2005 IP
  3. Dji-man

    Dji-man Peon

    Messages:
    185
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    in CSS, use the margin and padding elements on your TD or DIV.
     
    Dji-man, Jul 10, 2005 IP
  4. thecomputergeek247

    thecomputergeek247 Guest

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    ^ Agrees ^, CSS is really helpfull.
     
    thecomputergeek247, Jul 12, 2005 IP