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
@madsrh, you need to make html and body 100% too, and set menu-bg to min-height: 100%
http://codepen.io/ChrisPlz/pen/uaFqp
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
@madsrh, you need to make html and body 100% too, and set menu-bg to min-height: 100%
http://codepen.io/ChrisPlz/pen/uaFqp