Results 1 to 5 of 5

Thread: Table Cell Spacing

  1. #1
    Join Date
    Jun 2009
    Posts
    62
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default Table Cell Spacing

    Hi,

    Please check this website I'm currently working on:
    http://www.patrixgourmet.com/patrix/

    Do you see the space between the header and the body sections? How do I get rid of that? I've had this problem in the past and can never get rid of it? Why is the cell spacing so weird? I have it set a 0.

    Thanks for your help!

  2. #2
    Join Date
    Jan 2009
    Location
    NH
    Posts
    675
    Thanks
    98
    Thanked 26 Times in 26 Posts

    Default

    Do you mean between Welcome, you're gonna love how we do it! and Thank you for visiting our site today.?

    right before H3 you have this:
    Code:
    <table border="0" cellpadding="0" cellspacing="0">
    <tbody><tr>
    	<td height="122" valign="top" width="386">
    	    <div style="padding-left: 0px; padding-top: 13px;"><img src="images/1_hl2.jpg"></div>
    	<div style="padding: 10px 10px 5px 3px; line-height: 20px;" class="main"><h3>Welcome, you're gonna love how we do it!</h3>
    change the padding to 0

    Code:
    <div style="padding: 0;" class="main">
    If you mean above the Welcome line than change the code line above
    Code:
    <div style="padding-left: 0px; padding-top: 0;">
    Last edited by mlegg; 03-13-2011 at 02:32 AM.

  3. #3
    Join Date
    Jun 2009
    Posts
    62
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default

    Thanks, I was trying to figure that out too. But what I meant was the space under the menu and above the picture. The background is showing?
    Thanks again for your help.

  4. #4
    Join Date
    Jul 2009
    Location
    Binus University
    Posts
    472
    Thanks
    78
    Thanked 21 Times in 21 Posts

    Default

    Code:
    background-position:bottom
    for the upper table

    and
    Code:
    background-position:top
    for the bottom table
    _____________________

    David Demetrius // davejob
    _____________________

  5. The Following User Says Thank You to davelf For This Useful Post:

    onestopplay (03-19-2011)

  6. #5
    Join Date
    Jun 2009
    Posts
    62
    Thanks
    11
    Thanked 0 Times in 0 Posts

    Default

    Thank you for giving me an actually answer that fixed the problem! I posted this question on another forum on a different website, and they kept giving me crap about how the template was bad; ya I know its bad, but I have to deal with it for now. THANK YOU FOR GIVING ME AN ACTUAL ANSWER TO REALLY SOLVE MY PROBLEM!
    Dynamic Drive Forums are the best.

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
  •