I'm trying to do this thing that apparently causes a lot of people headaches, and I've found some near-solutions, but not quite what I need. I want to have a left sidebar div and a right main content div. Beneath those, a footer. In the sidebar, I want to run a strip from the top to the bottom of the div, filled with a background image, and I want it to stop above the footer, matching the height of the main content div, however tall or short.
If you want to see what I'm after, I put up an example page at http://lumn.net/about.html . None of the links are active and the code is extremely messy -- I'm literally teaching myself css just this week. But at least you can see the layout I'm envisioning.
I've tried declaring a bunch of "height:100%" from <html> down through the div in question, and that got it to stretch for the full page, but not to match its parent's height. Using "height:100%" only on the "strip" div and its parent doesn't appear to do anything. I also tried "position:absolute;top:0;bottom:0", which, too, did nothing. The div disappears (because it has nothing in it but the background image).
Then I tried a jQuery plugin I found at http://www.cssnewbie.com/equal-height-columns-with-jquery/ , but either I didn't know how to call it correctly, or something in my page prevented it from working.