V
V
vasIvas2015-11-01 23:11:45
css
vasIvas, 2015-11-01 23:11:45

How to calculate height?

li has a padding of 15px and the font of the a placed in that li is 16px.
I measure the height and it is 46px. What height should li be set
to keep it unchanged?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Denis Bukreev, 2015-11-01
@vasIvas

The height of the content, in this case the height of the font

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question