+ 4
Height
Why i can't use percentages to define height of block level element?
1 ответ
+ 1
Using percentages for height should work for block elements, but the height then depends on the height of the containing block:
https://developer.mozilla.org/en-US/docs/Web/CSS/height