Forums

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

Home Forums CSS What am I not getting about the “height” property?

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

    If I set min-height for html and body at 1500 px then set an internal div at height:100%, the internal div doesn’t pick up the entire height (1500px) of the containing element. What gives? I thought height:100% should make that element 100% of the height of body.

    http://test.salonelevenconway.com/test.html

    #123980
    jurotek
    Participant

    It makes element 100% of the browser view port size

    #124009
    howlermiller
    Participant

    @bluprint1 It does. In the example that you linked to, the div with the id `content_wrapper` is indeed 1200px tall, as is the body with the `min-height` property.

    Try giving the `#content_wrapper` a background color or a border, that makes it easier to see its size.

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