Z
Z
zoozag2018-02-28 11:35:26
css
zoozag, 2018-02-28 11:35:26

What determines the height of the text background?

There is text with a background fill with transparency.
When you change the line height, the fill height does not change.
You can increase its height using padding, but the height of the fill in different browsers is different and either breaks between lines or overlapping lines are obtained.
https://jsfiddle.net/xfL789qv/Windows/Chrome:Mac/Safari
_
V2V5QOGS0oXDYm.jpg
_
MAjzYqRTvQ3g7A.jpg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Anton, 2018-02-28
@Eridani

span display: block

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question