页面底部的空白空间?

时间:2022-06-15 11:51:24

In my current simple project, Copybin, there is some space at the bottom of the page that I cannot seem to be able to remove it. Any ideas?

在我目前的简单项目Copybin中,页面底部有一些空间,我似乎无法将其删除。有任何想法吗?

2 个解决方案

#1


You have the following CSS on your page:

您的页面上有以下CSS:

body {
    padding:0;
    margin:0;
    background-color:#eef8ff;
    min-width:950px;
    min-height:975px;
}

Remove your min-height:975px;. This will allow your page to expand to whatever height it requires. I measured your page up and its exactly 975 pixels high.

删除你的最小高度:975px;。这将允许您的页面扩展到它需要的任何高度。我测量了你的页面,它的高度恰好是975像素。

#2


try wrapping everything in a div tag and then seeting its height to the height of your web template and put overflow hidden.

尝试将所有内容包装在div标签中,然后将其高度设置为Web模板的高度并隐藏溢出。

<body>
<div style="height:800px; overflow:hidden;">
    <!-- rest of your code -->
</div>
</body>

#1


You have the following CSS on your page:

您的页面上有以下CSS:

body {
    padding:0;
    margin:0;
    background-color:#eef8ff;
    min-width:950px;
    min-height:975px;
}

Remove your min-height:975px;. This will allow your page to expand to whatever height it requires. I measured your page up and its exactly 975 pixels high.

删除你的最小高度:975px;。这将允许您的页面扩展到它需要的任何高度。我测量了你的页面,它的高度恰好是975像素。

#2


try wrapping everything in a div tag and then seeting its height to the height of your web template and put overflow hidden.

尝试将所有内容包装在div标签中,然后将其高度设置为Web模板的高度并隐藏溢出。

<body>
<div style="height:800px; overflow:hidden;">
    <!-- rest of your code -->
</div>
</body>