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