SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast _:FAL:_'s Avatar
    Join Date
    Jul 2007
    Location
    New York
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Table with border="0" still has 1px of blank space around it?

    Is there anyway to get rid of the 1px of blank space that is still around each cell in an html table?

  2. #2
    Visible Ninja bronze trophy
    JeffWalden's Avatar
    Join Date
    Sep 2002
    Location
    Los Angeles
    Posts
    1,709
    Mentioned
    5 Post(s)
    Tagged
    0 Thread(s)
    Try cellspacing="0" and cellpadding="0".
    TAKE A WALK OUTSIDE YOUR MIND.

  3. #3
    SitePoint Enthusiast _:FAL:_'s Avatar
    Join Date
    Jul 2007
    Location
    New York
    Posts
    44
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I really should of known that...thanks. =)

  4. #4
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,624
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Hyperbolik View Post
    Try cellspacing="0" and cellpadding="0".
    Quote Originally Posted by _:FAL:_ View Post
    Is there anyway to get rid of the 1px of blank space that is still around each cell in an html table?
    Around each cell = outside.. Aka you should use cellspacing="0".

    Or via CSS
    Code:
    border-collapse:collapse;
    Always looking for web design/development work.
    http://www.CodeFundamentals.com


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
  •