SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast
    Join Date
    Nov 2004
    Location
    brisbane
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    trying to get this cell on the bottom?

    Hi all.

    I know tables are nasty etc etc. i'm just trying to get this up and running, then i'll go through and use div / css. i've only ever made one site before, and that was even more basic than this one. So just making this site for my dad as practice. and will use the css/div one as more practice.

    Here's the link to the site.
    http://www.drbrettkerr.com.au

    On the left side, under the menu, is a "straight teeth without braces" thingy. This is within a TD cell, with another above it, which is a spacer cell with a repeating background.

    The basic idea i had was to define all the cell heights apart from the spacer cell i had. unfortunately, it doesn't size the spacer cell to take up the rest of the table. even when i use height="100%" etc.

    so my question is, is there any way that i can have a spacer cell take up all available space, so that my last cell sits flush with the bottom of the table it's in? I've included a screenshot in dreamweaver with expanded view to make it easier.

    Thanks for any help, i've googled till my eyes were sore and still no luck


  2. #2
    SitePoint Evangelist Maujor's Avatar
    Join Date
    Mar 2005
    Location
    Rio de Janeiro - Brazil - South America
    Posts
    408
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hello mkerr,
    Try this
    Find this line in your code:
    Code:
    <td height="70" valign="top"><a href="#">
    <img src="dr_files/highlight.gif" border="0" height="70" 
    width="168"></a></td>
    and change to this one:

    Code:
    <td height="159" valign="bottom">
    <a href="#"><img src="dr_files/highlight.gif" border="0"
     height="70" width="168"></a></td>
    Mauricio Samy Silva
    http://www.maujor.com/

  3. #3
    SitePoint Enthusiast
    Join Date
    Nov 2004
    Location
    brisbane
    Posts
    35
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks!
    i'm pretty sure i've tried that.
    will let you know how it goes.
    off camping for the week


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
  •