开发者

Extra padding below footer when using html5 doctype

I have recently applied a html5 doctype to this page: http://www.hostbasket.com/nl/shared-webhosting/windows/pakketten.html Now I notice extra padding below the footer. The two footer divs are positioned absolute to prevent the white background from appearing when pages are not 100% of height. Everything is fine with a transitional xhmtl1 doctype.

Using Firebug, I've set the #footer_bottom to bottom:-17px; the white space disappears. But why 17px? And 开发者_开发技巧I don't like negative position absolute!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜