Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5
  1. #1
    Senior Member toadeny's Avatar
    Join Date
    May 2003
    Location
    Wellington, New Zealand
    Posts
    188
    Member #
    1426
    Hey all. I put this little green line on my page which has 6 nested html tables. i want to be ablt to get the table with the topright graphics to be flush with the edges of the outer-most table. i put this green line in to compare the gap that is created.

    can anyone tell me where this 2 or 3px gap came from. i would really just like to remove the gap. the colour is there for demonstrating purposes. any help is appreciated.

    that url that you should look at is
    http://www.unleashed.co.nz/

  2.  

  3. #2
    Junior Member Cinders117's Avatar
    Join Date
    Mar 2003
    Location
    Kent, OH
    Posts
    19
    Member #
    833
    I dunno about the green, but I bet you're going for a while background instead of a purple one? Might wanna add a bgcolor to it.

  4. #3
    Senior Member james's Avatar
    Join Date
    May 2003
    Location
    Melbourne, AUSTRALIA
    Posts
    364
    Member #
    1352
    Scroll to the end, and take out the marked line:

    Code:
                  </tbody>             
                </table>
                             </td>
                <!--Delete the following line--> 
                <td width="10" align="center" valign="top">&nbsp;</td> 
            </tr>
                     
            </tbody>       
          </table>
          </td>
        </tr>
          
      </tbody> 
    </table>
      <br>
      <br>
       
    </body>
    </html>
    James H
    Home Page · Mars Page · www.fihsf1.net (formerly www·fihs·net)

  5. #4
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    Good catch, James. That is indeed a start of the problems, but not the end of them. There is some grave disparity with your cell and table sizes that's causing even more problems... the math doesn't add up. Look at this (from the beginning of your code):
    Code:
    <table width="751">
        <tr>
            <td width="745">
                <table width="745">
    You'll notice that your 745 width on the nested table is 6 less than the 751 of the outer table.

    I always follow the rule of either using percentages for the width of nested tables (with 100% for the whole table), or no specified width for the outer table, allowing it to fit to the width of the nested table.

  6. #5
    Senior Member toadeny's Avatar
    Join Date
    May 2003
    Location
    Wellington, New Zealand
    Posts
    188
    Member #
    1426
    thanks guys, its bloomin dreamweaver doing this to me !
    i know its great. just re-writes it badly.

    i think the 751 is cause i am testing it, but sure, its meant to be 745, thanks again.


    ----EDIT----
    It is fixed up now, cheers guys.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:05 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com