Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Jun 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Leor Zahavi - looking for CSS help

    Hello everyone,

    Can anybody suggest me the right way to control cellpadding and cellspacing in a CSS spreadsheet to obtain the similar results while putting the attributes on the table tag? waiting for your reply.

    Thanks
    Leor Zahavi

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,696
    Thanks
    6
    Thanked 1,011 Times in 984 Posts
    The CSS equivalent to cellspacing is border-spacing. It can take one or two values. If one value is specified it applies to all sides of the cell, if two are specified, the first sets the horizontal spacing and the second the vertical spacing.

    The CSS equivalent to cellpadding is simply padding (and all its derivates like padding-top etc.) applied to the table cells (i. e. td {…} or th {…}).


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •