I have a button with 1. an icon and 2. some normal text. The problem is that the icon and the text are on different heights WITHIN the button. I thought something like this would work:
<div style="text-align: center;">
<button class="btn btn-outline-dark btn-lg">
<div class="row">
<i class="material-icons md-48">hourglass_full</i>
Some Text
</div>
</button>
</div>
it does work, but the w3c validator tells me, that
"Element div not allowed as child of element button in this context."
How are you supposed to align the elements within a button then? I didnt find a solution :S
Thanks for the help in advance!