Pulling my hair out with this simple CSS layout. I have a 2-column fixed layout with a header and a footer all contained in a wrapper. I need the “left” background area in the CSS to automatically extend to the footer when the content in the “right” column is longer (as in the attached. I have tried “height: 100%;” and this does not work.
Can anyone help?
Yeah this problem is annoying.
Another solution would be to have the container div the colour you want your nav to be, then make the contents to be another colour:
ends up looking like:
with the divs, but the colour of the background “page” will be on the left, and the background of the content will be on the right
I hope that helps. This suffers from when the right is smaller than the left 🙁
edit:
you can also use bg images if you so wish in this format. This is something that is very awkward to do in html/css and you just need to play until you get a solution which fits you. This took me days to research for my site 🙁