So, I have a sidebar that I want to extend all the way down my page (exactly as far as the content). I set the height
of the sidebar to 100%
, but unfortunately it's only going as far as about the middle of the content div
. I've researched my question here on StackOverflow and found several answers, nearly all of them having answers such as doing
html, body{ height: 100%; }
and then setting the sidebar's height
to 100%
as well. None of the solutions have worked for me, so I'm getting the feeling that this is an actual problem with the code. Here is what I currently have.
How would I fix the problem and make the height
of the sidebar the full height
of the page? (I'd prefer pure HTML/CSS, but if you have a suitable JS answer please provide it. Anything that works.) Thanks in advance!