css - 全 Angular 页脚不会粘在底部

标签 css magento sticky-footer

我没能将全宽页脚粘贴到网页底部。当页脚上方的主要内容低于一定高度时,页脚下方会出现空白区域。我尝试过使用各种解决方案,例如以下 css 代码:

 html,body { margin:0; padding:0;min-height:100%;position:relative;}
 .wrapper { min-height:100%;   position:relative;_height:100% /* _height = for ie */  }
 .page { padding-bottom:400px; height:100%; }
 .footer { padding:0;margin:0 position:absolute; left:0; bottom:0; width:100%; height:400px; } 

页脚仍然会粘在主要内容的底部,而不是页面的底部。我认为我的css没有任何问题。

示例:http://hertog-hengelsport.nl.testbyte.nl/checkout/cart/

希望有人能指出解决方案!

非常感谢!

网址:http://hertog-hengelsport.nl.testbyte.nl 平台:Magento 1.7.2

最佳答案

使用“位置:固定;”而不是页脚的绝对值

关于css - 全 Angular 页脚不会粘在底部,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12819287/

相关文章:

HTML5 - 水平对齐图像和表格内联

php - Magento数据库升级1.4.2到1.9验证

magento - 使用 Magento API 将付款方式设置为购物车

calendar - magento 将日历日期选择器添加到管理中的自定义表单(自定义模块)

html - 粘性页脚冲突 css

css - HTML5 样板中的粘性页脚

html - flexbox 中最小尺寸的内容

jquery - 将 css 悬停类更改为 jquery 单击

css - 基于变量的 less 条件 CSS 规则

html - 如何创建具有固定宽度中心透明间隙的 100% 固定页脚?