好吧,所以我的脑袋现在会爆炸,我正在寻找5小时不停地为我的问题.. 我想要menu2.html里面的一个表格显示在页面的末尾,内容结束后! 我尝试了很多,例如: 1-position:absolute;底部:0; 2位:绝对; left:100px;顶部:150px;等等等等...... 但这不是我要找的! 我可以把menu2放在内容后面只能编辑top:150但是有很多页面内容不同,所以menu2不适合其他页面! 我希望你能帮助我。 这是我的PHP文件:如何在内容的结尾处放一张桌子
<style type="text/css">
.menu2 {
background-image: url('<?=$profpic;?>');
background-attachment:fixed;
background: yellow;
}
</style>
<title>Hello</title>
</head>
<body>
<table width="100%" height="58%" border="0" cellspacing="0" cellpadding="2" class="heading">
<tr>
<td>
<?php include('menu.html');?>
</td>
</tr>
<tr>
<td><img src="pictures/logo.png" width="1335" height="300"></td>
</tr>
</table>
<table width="85%" height="1%" border="1" cellspacing="0" cellpadding="2">
<tr>
<td>
<?php include('menu2.php');?>
</td>
</tr>
</table>
<?php
$profpic = "pictures/bg.jpg";
?>
</body>
</html>
你应该有效的HTML,多'html','body'等等元素都不允许启动。 – jeroen 2014-10-01 01:54:01