SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    Former Staff Member silver trophy Adam P.'s Avatar
    Join Date
    Apr 2001
    Location
    San Francisco
    Posts
    3,288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    unwanted gap, should be easy to answer

    I'm making a page:

    http://www.geocities.com/staffcoservices/exp-4.html

    What do I add to the code to get rid of the gap between the top and bottom tables??

    Also, why is there still a margin at the top and left? I put the attributes for both to "0" in the <body> tag.

    Please help me with these few glitches!
    Last edited by Adam P.; Jul 20, 2001 at 21:08.
    SPF Mentor/Advisor 2001-2003
    SPF Designer of the Year 2002
    SPF Graphic Designer of the Year 2003
    AdamPolselli.com

  2. #2
    SitePoint Wizard
    Join Date
    Nov 2000
    Location
    Chico, Ca
    Posts
    1,125
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just took a look at you Site, and to get rid of that space, you need to set Cellpad and Cellspace so they equal zero.

    Code:
    <table BORDER=0 WIDTH="100%" cellpadding="0" cellspacing="0" >
    
    blah blah blah....
    
    </table>

    try that.

    Chuck
    "Happiness doesn't find you, you find happiness" -- Unknown
    www.chuckknows.com

  3. #3
    SitePoint Enthusiast WWWill's Avatar
    Join Date
    Jul 2001
    Location
    Panama City Beach, Florida
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    <body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0"> will help you with the margins in netscape and IE.

    To get rid of the gaps, you need to specify that cell padding and cell spacing = 0
    if you don't specify, you will automatically get a little padding.

    this should take care of it for ya. good luck!
    Will Barnes - Co-Founder Tourist Network Interactive
    Web Design, Development, Marketing & Consulting
    www.TripSmarter.Com Way More Than A City Guide

  4. #4
    Former Staff Member silver trophy Adam P.'s Avatar
    Join Date
    Apr 2001
    Location
    San Francisco
    Posts
    3,288
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks both of you!

    It all worked!
    SPF Mentor/Advisor 2001-2003
    SPF Designer of the Year 2002
    SPF Graphic Designer of the Year 2003
    AdamPolselli.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
  •