简体   繁体   English

html-在页脚后消除空白

[英]html - Eliminating white space after footer

I am having an issue in removing the white space after footer.Here is my website: https://www.filterbypass.me/ 我在移除页脚后的空白时遇到问题。这是我的网站: https//www.filterbypass.me/

I tried googling and added padding:0; 我尝试使用谷歌搜索并添加padding:0; to the footer css but its didn't work. 到页脚CSS,但是没有用。

Thanks in advance for the help 先谢谢您的帮助

See your footer class 查看您的页脚课程

footer { 页脚{

background: none repeat scroll 0 0 #1E1E1E;
color: #FFFFFF;
font-family: 'sansationregular';
height: 36px; // ?  36 height
line-height: 40px;  // Here the problem 40 line height
margin-top: 45px;
width: 100%;

} }

Make it line-height: 36px; 使其线高:36px; And Think simple... 并认为简单...

You have defined a height:36px; 您已定义height:36px; to <div id="footer"> in combine.css at line 246 . 到第246行的combine.css中的<div id="footer"> This is the problem 这就是问题

in combine.css see footer class 在Combine.css中查看页脚类

footer{
background: none repeat scroll 0 0 #1E1E1E;
color: #FFFFFF;
font-family: 'sansationregular';
height: 36px;    /*comment this if you want to keep line-height*/
line-height: 40px;
margin-top: 45px;
width: 100%;
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM