I need to apply some text within a div horizontally and vertically, which was working fine with this solution that has been posted on stack overflow before -
text-align: center;
vertical-align: middle;
line-height: 90px;
/* the same as your div height */
My issue is that I have multiple lines and I am wrapping the words onto a new line with -
white-space: normal;
My text is within a button so i need this line to counteract the btn class that will not allow for text to wrap normally.
However when I do this there will now be a huge gap inbetween my lines of 90px, as you'd expect. Is there a way to get around this? Or another way to centre my text?