Forums

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

Home Forums CSS 100% height of child when height of parent is not set? Re: 100% height of child when height of parent is not set?

#134807
wolfcry911
Participant

I think you need to rephrase the question. Unless a child is position: absolute or a float, the parent will encompass the child and therefore the child will be 100% of it’s parent’s height. I’m guessing you mean 100% of the viewport?