Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Height 100%

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #42275
    madsrh
    Member

    **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 ?

    #122412
    rosspenman
    Participant

    You need to set 100% height on every parent of menu-bg for it to work.

    #122418
    madsrh
    Member

    **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

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.