我得到了这段简单的<td>代码,我想让测试(第三个html组件)与行的底部对齐,但不管我怎么尝试,它都不会停止。
我知道有数以千计的这类问题,我读了3-4篇文章,但我尝试的东西都不起作用。
<table border="0">
<tr>
<td width="144" height="125"><img src="images/logo.png" alt="CommuniTake" width="143"
height="123"></td>
<td width="775">
<h1><h:outputText value="#{msg.General_Configuration_Title}" /></h1>
</td>
<td style="float:right;vertical-align:text-bottom">
TEST
</td>
</tr>
</table>谢谢!
发布于 2011-04-07 21:43:09
只要移除float并将其设置为vertical-align: bottom,它就会坠入深渊!
发布于 2011-04-07 21:42:16
<td valign="bottom">应该行得通
发布于 2011-04-07 21:42:23
这样如何:
<table border="0">
<tr>
<td width="144" height="125"><img src="images/logo.png" alt="CommuniTake" width="143"
height="123"></td>
<td width="775">
<h1><h:outputText value="#{msg.General_Configuration_Title}" /></h1>
</td>
<td valign="bottom">
TEST
</td>
</tr>
</table>https://stackoverflow.com/questions/5582019
复制相似问题