Sign in to follow this  

[web] Making a Table Column Span the Rest of the Page?

This topic is 4811 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I have 2 rows in a table, with the first row having a fixed height. How do you make the second row span the rest of the page vertically?
 __________________________________________
|          |                               |
|          |                               |
|          |                               |
|__________|_______________________________|
|          |                               |
|          |                               |
|          |                               |
|          |                               |
|          |                               |
|          |                               |
|          |                               |
|          |                               |
          span the rest of the page
    |         |           |           |
    V         V           V           V

Share this post


Link to post
Share on other sites
Just so you know, I don't think there is any simple way to guarantee that you can take up 100% of the vertical height in any browser. Vertical stuff is not very well defined and some browsers have been known to require that you give the body, and even html elements 100% height too for this sort of thing to work.

Share this post


Link to post
Share on other sites
I agree with Kylotan. height:100% is represented differently in browsers. For example, one may have it as 100% of the document, another (IE6) may have it as 100% of the view window (especially for CSS). Make sure you have the right DOCTYPE for your HTML, that's one way you can at least try to get the browser to adhere to a standard.

Share this post


Link to post
Share on other sites

This topic is 4811 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this