CSS – why doesn’t percentage height work? [duplicate]
The height of a block element defaults to the height of the block’s content. So, given something like this: #inner will grow to be tall enough to contain the paragraph and #outer will grow to be tall enough to contain #inner. When you specify the height or width as a percentage, that’s a percentage with … Read more