Vertical Alignment of text in a table cell

前端 未结 7 1777
礼貌的吻别
礼貌的吻别 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:01

    td.description {vertical-align: top;}
    

    where description is the class name of the td with that text in it

    td.description {
      vertical-align: top;
    }
    Description

    OR inline (yuk!)

    Description

提交回复
热议问题