It is necessary to align the symmetrical symbol vertically, for example, "*" in the #big block of the specified width and height in x px:
<div id="big"> <div id="small">*</div> </div>
I tried 2 vehicles:
1) #big{ line-height: x px; height: x px; ... } #small{ white-space: nowrap; overflow: hidden; ... } 2) #big{ display: table; ... } #small{ vertical-align: middle; display: table-cell; ... }
In the mobile chrome and edge, everything is OK, safari for ios is not. The symbol is always just below the center (but it is noticeable).
What could be the reason? What other techniques can be used, but so that the solution would be cross-browser?