+ Reply to Thread
Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: How do you get...

  1. #1
    ZeptOr's Avatar
    ZeptOr is offline x10 Sophmore ZeptOr is an unknown quantity at this point
    Join Date
    Sep 2005
    Posts
    221

    How do you get...

    How do you get a table to always be extended vertically so that it touches the bottom of the browser.. always?

  2. #2
    Derek is offline Community Support Force Derek is a splendid one to beholdDerek is a splendid one to behold
    Join Date
    May 2005
    Location
    cossacks
    Posts
    6,354

    Re: How do you get...

    Do you have an example of what kind of table your tallking about for mine i just edit the hieght

  3. #3
    ZeptOr's Avatar
    ZeptOr is offline x10 Sophmore ZeptOr is an unknown quantity at this point
    Join Date
    Sep 2005
    Posts
    221

    Re: How do you get...

    Okay..

    Let me explain to you what I want to do. I am making a website so I can put my work on it. The address is http://greenear.x10hosting.com/Main/index4.html

    Right below the footer (where it says "all rights reserved") there is sometimes space showing the background. This depends on what you have your resolution set to. If my site requires you to scroll down, its fine, but if its doesn't, then there is the unwanted space. Check this page:
    http://greenear.x10hosting.com/Main/about.html

    On the above page, I want the table that everything is set in to extend all the way to the bottom, leaving no space and making everything look.. nicer.

    Did you get that?

  4. #4
    Derek is offline Community Support Force Derek is a splendid one to beholdDerek is a splendid one to behold
    Join Date
    May 2005
    Location
    cossacks
    Posts
    6,354

    Re: How do you get...

    Like i told you edit the height of that image

  5. #5
    ZeptOr's Avatar
    ZeptOr is offline x10 Sophmore ZeptOr is an unknown quantity at this point
    Join Date
    Sep 2005
    Posts
    221

    Re: How do you get...

    I want a table to have 100% height, not an image

  6. #6
    Zenax's Avatar
    Zenax is offline Lord Of The Keys Zenax is an unknown quantity at this point
    Join Date
    Jul 2006
    Location
    The Brilliant United Kingdom
    Posts
    1,339

    Re: How do you get...

    set the height of the table to 100%, it should technically expand to fit the whole page or shrink so it fits your content.

    Check for margins, they might be causing the white space, try css.
    Regards,
    Zenax

  7. #7
    aking47 is offline x10Hosting Member aking47 is an unknown quantity at this point
    Join Date
    Oct 2006
    Posts
    13

    Re: How do you get...

    <style>
    div.copyright {
    position: absolute;
    bottom: 10px;
    }
    </style>

    <div class="copyright">Put your message here</div>

  8. #8
    dyfuse's Avatar
    dyfuse is offline x10 Sophmore dyfuse is an unknown quantity at this point
    Join Date
    Apr 2006
    Posts
    196

    Re: How do you get...

    Quote Originally Posted by ZeptOr
    How do you get a table to always be extended vertically so that it touches the bottom of the browser.. always?


    I think I get what you mean. The best way to control this is using CSS. The only problem is that the background will still show down the bottom, if the content is shorter than the height of the browser window, but that's not a matter to be concerned about.

    What I've done on my site is applied this CSS code to the "body" tag:

    Code:
    body
    {
    margin-top: 0px;
    margin-bottom: 0px;
    }
    You should be able to apply that to the 'table' tag as well, but if you apply it to 'table' alone, there will still be a default margin of 10px at the top and bottom in the 'body' of the page. So it's imperative that you apply it to the 'body' tag.

    If you want an example where I've applied this, just PM me.

  9. #9
    ZeptOr's Avatar
    ZeptOr is offline x10 Sophmore ZeptOr is an unknown quantity at this point
    Join Date
    Sep 2005
    Posts
    221

    Re: How do you get...

    Thanks, I have't tried it yet, but when I get the chance I will

  10. #10
    dyfuse's Avatar
    dyfuse is offline x10 Sophmore dyfuse is an unknown quantity at this point
    Join Date
    Apr 2006
    Posts
    196

    Re: How do you get...

    When you get the chance...just tell me if it works or not... ;)

+ Reply to Thread
Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers