SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru
    Join Date
    Aug 2009
    Posts
    675
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)

    Display: table Heights Not Working

    Hey Guys,

    Trying to get this to work but it is not trying to have the row-top to be 20% and row-bottom to be 80%.

    Cause need it to be 100% the height or min-height: 100% for the table.

    Please let me know what the issue is...

    http://modocom.ca/wenscott/

    Must be something small missing cause just cant figure it out.

    Thanks,

    Mike

  2. #2
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,555
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Hi,
    You need something to base the height on.

    Code:
    html,body{height:100%}
    Then just set the display table element to height:100% because tables treat height as a minimum.

  3. #3
    SitePoint Guru
    Join Date
    Aug 2009
    Posts
    675
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Thanks works now was missing that. Now in theres text will it still scroll nicely so the table cells will continue down?

  4. #4
    The CSS Clinic is open silver trophybronze trophy
    Paul O'B's Avatar
    Join Date
    Jan 2003
    Location
    Hampshire UK
    Posts
    40,555
    Mentioned
    183 Post(s)
    Tagged
    6 Thread(s)
    Quote Originally Posted by mbond5 View Post
    Now in theres text will it still scroll nicely so the table cells will continue down?
    You lost me there

    Can you clarify a little as I'm not sure what you mean?


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
  •