- Sunday, December 27, 2015, 7:12
- CSS, How-to
Sometimes its a headache aligning the text elements inside div to the middle. The easiest solution is to add line-height value equal to the height of the div element.
Suppose we have
This does not look good because it is not vertically aligned to the middle. So the solution is to add line and line-height to ... Full story