52 users online (1 members and 51 guests)  


  Results 1 to 7 of 7

Related

  1. Quick Script For Me = Quick Cash For You    Forum: Barter/Trade
    Replies: 2
  2. quick question about frames    Forum: HTML Forum
    Replies: 3
  3. table question    Forum: HTML Forum
    Replies: 6
  4. Replies: 8
  1. #1
    asatyss's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2002
    Posts
    8

    Quick Table question

    I have a table that i want to be the height of the page, but can't actually get it to do that. I know I can just put <br>'s in to make it longer, but that would mean that someone with a different screen resolution would not see the same thing. Is there any way to make the table go to the bottom of the browser window even if the info in the table isn't that long?

  2. #2
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel
    I am going to move this to the CSS forum as CSS positioning would be what you are looking for.

    ...also an area where I cannot be of help, but I am sure somebody can .

    Dave
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  3. #3
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Daves right, you can do it with css.

    Heres the most boring table in the world, but it does what you need it to -

    Code:
    <table style="border: 1px solid black; width: 100%; height: 100%;">
    <tr><td><br /></td></tr>
    </table>
    Have fun.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  4. #4
    asatyss's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2002
    Posts
    8
    Cool, thanks, it worked. The only thing I have a question about, which is not a big deal really, is that not it makes it a little longer than the window so now you can scroll down. Is it possible to stop it at the bottom of the window?

  5. #5
    asatyss's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2002
    Posts
    8
    actually, I figured it out, this table is a second table that is placed below another table, so the "height: 100%" command is actually 100%, but you can still scroll down the legnth of the first table.

  6. #6
    asatyss's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2002
    Posts
    8
    Figured it out. I just added a third table around the original two with those settings, and it wored just fine. Thanks so much for the help QuietDean!

  7. #7
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    No problem
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread