SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Evangelist perpetual_dream's Avatar
    Join Date
    Nov 2005
    Location
    Jerusalem
    Posts
    542
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    distance between tds?

    Hello,

    I'd like to know how to set the distance in the tds in the following table to zero so that there is no white space between them
    http://www.undamusic.com/undamusic2/index.html
    and here is the code:
    HTML Code:
    <body>
    
    <table width="780px" bordercolor="#312016" border="3px" align="center">
    <tr><td><table width="302px"><tr><td background="img/header-logo.jpg" width="302px" height="80px"></td></tr><tr><td background="img/header-middle.jpg" width="302px" height="327"></td></tr></table></td></tr> 
    
    
    </table>
    
    </body>
    I have the following design http://www.undamusic.com/undamusic2/img/Picture-9.jpg and I'd like to build the layout using html tables... how do u suggest I should devide my table....

    Thanks
    Tanzeelnet - Best arabic downloadsite
    Linux Hosting |Free Downloads |

  2. #2
    SitePoint Author silver trophybronze trophy

    Join Date
    Nov 2004
    Location
    Ankh-Morpork
    Posts
    12,159
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Using HTML you can do
    HTML Code:
    <table cellspacing="0" cellpadding="0">
    It's far better to use CSS, though, since this concerns presentation:
    Code:
    table {border-collapse:collapse}
    td,th {padding:0}
    Birnam wood is come to Dunsinane


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
  •