I need to show a set of text symbols in several rows, each one in different div element. When I try this I get the height of div is greater that height of text. I prepared
example
to demonstrate this. How to change the style so that the height of div would be fit to text’s height?
<style>
.divText {
border: solid;
font-size: 50px;
width: 80px;
height: 50px;
}
</style>