Masetek
10-01-2005, 07:12 PM
This new site Im working on comprises of 3 vertical sections.
Header
Middle
Footer
Within the middle div there are 2 vertical columns, nav and content. nav is the navigation on the left and content is obviously the page content.
My prob is getting these 2 columns to fill down automatically to the size of the middle div. The nav is taller than the content on some pages where there's little content, but on other pages of the site where theres loads of content the nav is shorter. The nav has a different color background than the content, so you can see it looks stupid when this happens. I want whatever column is shorter to auto fill down to the size of the middle div.
You can fix this problem in tables by using valign=100%. I'm sure there's a hack for it in css. I tried height: 100% and height: auto but no go.
Can anyone shed some light on this?
:cool:
Header
Middle
Footer
Within the middle div there are 2 vertical columns, nav and content. nav is the navigation on the left and content is obviously the page content.
My prob is getting these 2 columns to fill down automatically to the size of the middle div. The nav is taller than the content on some pages where there's little content, but on other pages of the site where theres loads of content the nav is shorter. The nav has a different color background than the content, so you can see it looks stupid when this happens. I want whatever column is shorter to auto fill down to the size of the middle div.
You can fix this problem in tables by using valign=100%. I'm sure there's a hack for it in css. I tried height: 100% and height: auto but no go.
Can anyone shed some light on this?
:cool: