SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Enthusiast particleMan's Avatar
    Join Date
    Feb 2005
    Location
    ON Canada
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question W3C Standards - Table Height 100%

    Hello everyone.

    Im designing a webpage for a client and I need to get my table to hit the bottom of the browser page. Normally, '<table height="100%">' would get the table down to the very bottom, but since im going with W3C standards and that I use '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">' in my page, it doesn't go the full way...

    Anyone know a way around this? Is it even possible?

  2. #2
    SitePoint Enthusiast particleMan's Avatar
    Join Date
    Feb 2005
    Location
    ON Canada
    Posts
    62
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Stupid me, someone just asked this question. I apologize for any inconvience.

  3. #3
    SitePoint Guru puco's Avatar
    Join Date
    Feb 2005
    Location
    Slovakia
    Posts
    785
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This should work for you:

    Code:
    html, body { height: 100% }
    And yes, it was asked acouple of times
    Martin Pernecky


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
  •