How to vertically align text in an inline-block td?
问题 I have a table with one row full of tds. I made them display: inline-block so that they would wrap with the page. I can't seem to make the text inside them vertical-align: middle. How would I accomplish this? Or is display: inline-block not the way to go? Thanks. EDIT Here is the code. Sorry I'm new to posting. <div> <table class="disk-size-table center"> <tr class="disk-size-row"> <!-- <td class="disk-size-td draggable" data-disk-size="500"> 500 GB <!-- I want the 500GB to be vertical align