Hey.
CSS question. I wrote <strong style="font-size: 24px;font-family:arial;">Ёу</strong> , and then I opened the devtuls and selected this line element. Got it:
- I do not understand what this selected area? What is 26 pixels when I specified 24 pixels? . The line element has a line block (equal to the height of the line-height), there is a content area (equal to the font-size), and there is a container line.
Model 1
- The item has a content area — this is from the container model. As far as I understand, the container model also extends to lowercase elements, since the same margin, border, padding can be set for the lowercase element. How do these two models interact?
Model 2
The container model has a "content area" and the pure-line element model has a content area (its height is defined as font-size).





line-height- Vadim Prokopchuk