The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Height 100%
**Hi**
I know this is a trivial question, but I’ve so much time reading tutorials and trying different code snippets.
_menu-bg_ is my div class that needs to be 100% high. But somehow it seems that the html or body only is 526px high.
Can anyone tell me what I’m missing ?
You need to set 100% height on every parent of menu-bg for it to work.
**rosspenman** -> Thanks for the reply. I have written _height: 100%;_ for all the parent divs (I think so), but it’s not working.
I’ve fixed it, by adding a background to the menu-bg div. Not a perfect fix, but it works.
Thanks again