我有下表.
<table> <tr> <td align="right"> <b>Car Name:</b> </td> <td> <div><%=Model.DataMayLoad1%></div> <div><%=Model.DataMayLoad2%></div> <div><%=Model.DataMayLoad3%></div> <div><%=Model.DataMayLoad4%></div> </td> </tr> </table>
“Car Name:”列右对齐,但位于中心.有没有办法将该列对齐到右上角?
解决方法
<table> <tr> <td align="right" style="vertical-align: top;"> <b>Car Name:</b> </td> <td> <div><%=Model.DataMayLoad1%></div> <div><%=Model.DataMayLoad2%></div> <div><%=Model.DataMayLoad3%></div> <div><%=Model.DataMayLoad4%></div> </td> </tr> </table>