Vertical Alignment of text in a table cell

前端 未结 7 1779
礼貌的吻别
礼貌的吻别 2020-12-03 09:39

Here\'s a portion of my table (it\'s a form):

\"\"

Those are just two \'s in a <

7条回答
  •  一生所求
    2020-12-03 10:06

    Just add vertical-align:top for first td alone needed not for all td.

    tr>td:first-child {
      vertical-align: top;
    }
    
      Description
      more text
    

提交回复
热议问题