Welcome to WebmasterWorld Guest from 184.108.40.206
Forum Moderators: not2easy
I'm having some trouble with a CSS design I'm working on. I created a page that has a header and footer but between them is a two column layout. The left side is 200px wide and is a sidebar navigation. It is working fine.
Basically my problem is with the right side of the layout. If the left side is longer than the right side, the right side doesn't stretch to match the left side. The left side will stretch to match the right side which is great. It is just the right side I'm having trouble with.
If only height: 100% would work, it would stretch the div to match up with the left side. This doesn't work though. I tried doing some searching on webmasterworld and google for a solution. I tried changing the body to be 100% along with the div container but this just stretches everything too far down the page, causing a lot of empty space and a lot of scrolling.
Does anyone know a fix for this? It should be simple to just have a div stretch to have the same height as the container it is in, but I just can't get it to work.
Can anyone help?
Thanks in advance for your help! :)