.table th, .table td should have vertical-align set to middle, not top
I created a table with a button in one of the rows which made the row larger. The button looked aligned properly, but not the text in the other cells. Changing vertical-align:top to middle fixes this.
It's top so that cells with text that wraps to more than 1 line all line up. You're welcome to change it yourself though in any of your own projects.
what about vertical-align: baseline then? so text wrapped to multiple lines still line up nicely with one liner cell and cell with button
Im facing a similar problem, i created a table with rows and columns in a td tag i added a button it looks properly aligned in middle of cell, but no texts in the other cells. I tried to apply the following
td { vertical-align:middle; }
But not success
If i place css style in a style attribute it is applied
...
<td style="vertical-align:middle;">some text</td>
...
I hope you can help me and thanks for your time.