css - 请帮我去掉页脚中的空白条

标签 css

我似乎无法摆脱 this site 最底部的空白区域.我正在使用 Firebug,但在任何地方都看不到任何填充/边距。有人知道吗?

就是下图中的米黄色 strip :

enter image description here

最佳答案

额外的空间是由 xg_foot div 的 line-height 属性引起的

您需要将您的#xg_foot css 更改为:

#xg_foot {
    box-shadow: none !important;
    font-family: 'bitter',serif;
    height: 23px; /* Adjust to your liking */
    line-height: 0;
    padding: 13px 0 0; /* Adjust to your liking */
    width: 100% !important;
}

关于css - 请帮我去掉页脚中的空白条,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/8606150/

相关文章:

javascript - 如何通过 PhpStorm 在 CSS 中使用 Autoprefixer?

css - 我该如何修复这个CSS?

css - 使用 CSS 的图像灰度并在鼠标悬停时重新着色?

html - 显示 : flex and unresponsive photos HTML + CSS

html - 允许 <tr> 背景颜色与定义的 <td> 背景颜色/边框半径保持一致?

css - 使用 webpack 从 .sass 到 .css 文件

jQuery 拖动滚动禁用

html - 如何让 Bootstrap 看起来更 "Compact"

html - 将固定 div 定位在另一个内部不起作用

Html CSS 搜索栏 : nothing happens when clicking the icon