0

如果内容需要,我希望页面的高度不受限制。有人能帮我一下吗。这是内容在底部被截断且 div 底部未显示的页面:

http://comparetranslations.com/index.php?page=4&authorini=p

这是一个显示 div 底部的页面:

http://comparetranslations.com/index.php?page=4&authorini=l

4

3 回答 3

1

只是改变:

.page4authorwork { 位置:相对;

并添加

.main {高度:自动;

于 2013-05-11T19:43:05.690 回答
0

我在第 9 行看到了一个结束头,但你的头标签在 317 上。

看起来你可以清理你的头部元素,也许你的身体元素会按照它应该的方式构建。

它在 html 验证中失败。http://validator.w3.org/

于 2013-05-11T19:53:14.780 回答
0

我希望这就是您要寻找的:min-height,用于设置 div 的最小高度。

例子:

<div style="min-height: 100px;">
... your content ....
</div>
于 2013-05-11T19:36:21.183 回答