SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    Prolific Blogger silver trophy Technosailor's Avatar
    Join Date
    Jun 2001
    Location
    Before These Crowded Streets
    Posts
    9,446
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS: cell spacing

    hey guys.

    How would you define cell spacing in css? I know cell pading is cell-padding: 0px; or whatever. Thanks

    Sketch
    Aaron Brazell
    Technosailor



  2. #2
    Gone!
    Join Date
    Aug 2001
    Location
    Witty Location Parody
    Posts
    3,889
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I dont think there is a property in CSS1 for cell spacing.

    Here is a link to all the different selectors you can have.

    You could use the margin property for a similar effect in a <td> though.


    Glen

  3. #3
    No. Phil.Roberts's Avatar
    Join Date
    May 2001
    Location
    Nottingham, UK
    Posts
    1,142
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    The margin property doesnt apply to table cells.


    Theres no reason to not use cellspacing and cellpadding in the table tag, these are still valid attributes even in XHTML Strict.
    THE INSTRUCTIONS BELOW ARE OLD AND MAY BE INACCURATE.
    THIS INSTALL METHOD IS NOT RECOMMENDED, IT MAY RUN
    OVER YOUR DOG. <-- MediaWiki installation guide

  4. #4
    .net install meltdown
    Join Date
    May 2001
    Location
    View Ridge
    Posts
    692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Sir Sketch,

    The CSS equivalent of cellspacing is the border-spacing prop.

    If I remember correctly, it won't work in IE5.5 though. Not sure if thats been remedied in IE6.

  5. #5
    SitePoint Wizard
    Join Date
    Oct 2001
    Location
    Tucson, Arizona
    Posts
    1,858
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by isotope235
    The CSS equivalent of cellspacing is the border-spacing prop.
    It must not work in IE6, either.


Bookmarks

Posting Permissions

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