SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru laflair13's Avatar
    Join Date
    Nov 2004
    Location
    TN
    Posts
    620
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Tables showing space between them.

    I am trying to set up a table based email and when I put in my tables there is a space in between them. See the image below.

    How the hell do I get rid of that? I know its something super simple I am missing.

    3b54a836a7ce37dde413cc316d6c15d1.png
    Thanks In Advance

    David

  2. #2
    dooby dooby doo silver trophybronze trophy
    spikeZ's Avatar
    Join Date
    Aug 2004
    Location
    Manchester UK
    Posts
    13,806
    Mentioned
    158 Post(s)
    Tagged
    3 Thread(s)
    Hi David,
    it would help if you gave us the code you are using for the tables.
    Are there any rules that may be overriding the table css settings?
    Mike Swiffin - Community Team Advisor
    Only a woman can read between the lines of a one word answer.....

  3. #3
    SitePoint Mentor bronze trophy
    John_Betong's Avatar
    Join Date
    Aug 2005
    Location
    City of Angels
    Posts
    1,819
    Mentioned
    73 Post(s)
    Tagged
    6 Thread(s)
    I would be tempted to temporarily set both table styles like this:

    HTML Code:
    // first try this:
    <table style='outline: dotted 1px red'>
    ...
    </table>
    
    <table style='outline: dotted 1px blue'>
    ...
    </table>
    
    
    // then try this:
    <table style='margin: 0; outline: dotted 1px red'>
    ...
    </table>
    
    <table style='margin: 0; outline: dotted 1px blue'>
    ...
    </table>

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,338
    Mentioned
    179 Post(s)
    Tagged
    6 Thread(s)
    Hi,

    Set your tables to border-collapse:collapse (and cellspacing="0" and cellpadding="0" as this is an email) and set your image to display:block and the gaps should disappear with any luck.


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
  •