Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren0
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.
2 Antworten
+ 1
learn css position attribute and also display
0
(I'm not specifying li's height, it's given by font-size and the padding I think.. , is there the problem?)