我的 index.html 主要是一个表格,我希望最后一行 (TR) 始终位于底部,无论浏览器或屏幕大小如何。
我尝试将其用作 <table>
中的最后一行, 但它不起作用:
<tfoot>
<td height=30>(c) My Company, 2011</td>
</tfoot>
你有什么推荐给我的?
最佳答案
<tfoot>
<tr>
<td height=30>© My Company, 2011</td>
</tr>
</tfoot>
你忘记了 tr 标签
关于html - 将页脚添加到 HTML 页面,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6848459/