Footer not 100% bottom crossbrowser

非 Y 不嫁゛ 提交于 2019-12-01 14:32:06

U have really messed your code a lot..!

Do these changes, it will work perfectly. remove html,body {height:100%}

/**** add CSS ***/
html {min-height: 100%;position: relative;}
body {margin-bottom: 288px;}/* height of footer */
footer {position:absolute;width:100%;left:0;right:0;bottom:0;}

delete that container tag from bottom of html page.

Alright, I got the footer to the absoulte bottom of the browser (Safari atm)

But the content gets hidden behind the footer, and thats no good.

Attaching image and code Screenshot CSS

Im really sorry for the messy CSS, but i really appreciate all help!

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!