html - CSS text positioning in table row -


i have little problem positioning text in middle of table row.

enter image description here

each table row contains 3 <td> elements. want position text in middle of cell. 'name' text 'description' longer in top. tired

td {   vertical-align: middle; } 

but doesn't work. how correctly position text?

update
worked fine:

.table tbody>tr>td.vert-align{     vertical-align: middle; } 

another great option find compliant using line-height property vertically align/center single line text

td {   line-height: 100px; /*play around value*/ } 

Comments