开发者

Footer issues: Can't extend to edges of window [closed]

开发者 https://www.devze.com 2023-04-01 01:42 出处:网络
Closed. This question needs details or clarity. It is not currently accepting answers. Want to improve this question? Add details and clarify the problem by editing this post.
Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 9 years ago.

Improve this question

I开发者_如何学C can't seem to get my footer to extend to left and right edges of the browser window. I've been trying everything, but I can't get it to work. How would I do this?

Thanks


Just add it to your css:

html, body {
    margin:0;
    padding:0;
}


With no HTML or CSS to accompany the question, I'd have to say that your footer it inside of another container (<div id="page-wrap"> anyone?) that has a margin and/or padding applied.

0

精彩评论

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

关注公众号