0

div's height is always the height of its children but the padding...

Hi, is any property in css that could help me? <ul> does take the height of its children <li>, but only the content and ignores their padding.

24th Sep 2017, 9:42 PM
Andres Gornatti
Andres Gornatti - avatar
2 Answers
+ 1
learn css position attribute and also display
25th Sep 2017, 1:33 AM
Ali Sawari
Ali Sawari - avatar
0
(I'm not specifying li's height, it's given by font-size and the padding I think.. , is there the problem?)
24th Sep 2017, 9:46 PM
Andres Gornatti
Andres Gornatti - avatar