html - 如何恢复页脚

标签 html css footer

我正在尝试将页脚恢复原状。正文其余部分之间的空间太大。我不明白是什么让它一直这么低。该页面的链接是。 http://rwarner10.mydevryportfolio.com/WGD232/ProjectMilestone/aboutme.html

这是该页面的 CSS3 代码。

/*---about me---*/
#japhyryder{
   float: right;
   margin-top: 10px;
   margin-right: 350px;



}
#ryanimg{
   float: left;
   padding-left: 95px;
   margin-top: -185px;

}
#ryan{
   margin-left: 450px;
   margin-top: 50px;

 }

#bio{
   text-align: left;
   margin-right: 10em;
   margin-left: 450px;
   padding: 0px;   
   clear: both;
}

最佳答案

你为div#wrapper指定了一个max-width(右边距的来源?);指定 max-height 会限制页脚上方的空间。

关于html - 如何恢复页脚,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24376771/

相关文章:

css - 浏览器对 CSS 网格的支持

html - 如何使用 HTML-Sheets-of-Paper 在每个页面中动态插入页脚?

html - 在 Chrome 中运行调试器之前,CSS 无法正常工作

javascript - javascript中有没有一种方法可以检测元素是否附加了任何事件?

javascript - 指定一个div区域不做js/jquery的功能

html - 使用单独的 CSS 文件与 HTML 样式标签时的网站下载速度

html - 3 个 DIV 的布局,其中 2 个在一列中

css - Bootstrap 3 面板页脚,1 个元素向左拉,2 个元素向右拉,都在同一页脚行上 - 怎么样?

php - 如何在多个页面上将页脚位置保持在内容下方

javascript - 在 jquery 中制作的 div 中的按钮没有触发