HTML-<td> 标签的 valign 属性

 

<html>
<body>

<table border="1" style="height:200px">
  <tr>
    <th>Month</th>
    <th>Savings</th>
  </tr>
  <tr>
    <td valign="bottom">January</td>
    <td valign="bottom">$100</td>
  </tr>
  <tr> 
   <td valign="baseline">February</td>
   <td  valign="baseline" style="font-size:200%">$80</td>
  </tr>
</table>

</body>
</html>

 

posted @ 2016-04-18 17:33  dekevin  阅读(660)  评论(0编辑  收藏  举报