Why do I have the impression that the height as a measure is neglected or omitted? | Sololearn: Learn to code for FREE!

+12

Why do I have the impression that the height as a measure is neglected or omitted?

https://code.sololearn.com/W8YmohkdB0RS/?ref=app

4/21/2018 2:41:31 PM

Vučko/Вучко/Vuchko

2 Answers

New Answer

0

We use more CSS for text size, here is an example https://code.sololearn.com/WX7xS1D4xETy/?ref=app

0

Use alway CSS and you will see that something change and you must understand one thing... If you have an block element and you dont set a height, it will enlarge for contain his childs BUT if they height will be setted relative to parent (that in this example has height relative to childs) will be a problem and not works like expected... You can resolve by setting a fixed height in parent element