Margin 0 and fixed background cause weird border OR what?

Posted by alumi on Stack Overflow See other posts from Stack Overflow or by alumi
Published on 2011-11-20T16:55:56Z Indexed on 2011/11/20 17:51 UTC
Read the original article Hit count: 173

Filed under:
|
|
|
|

I am currently developing this site: tochat.vn

As viewing in Firefox 7.0.1, it has annoying white border at top of the page. I have been trying to remove the border in many ways, but nothing really works.

Actually, there are 2 things I noticed,

  1. when I removed "margin: 0" on body tag (on reset.css)
  2. OR when I removed the "fixed" value of background-attachment of the "body" class (on style.css)

the border disappeared.

But I can't remove these attributes :(

Any suggestion?

© Stack Overflow or respective owner

Related posts about css

Related posts about background