Why is there a margin at the top of my browser?
Posted
by fmz
on Stack Overflow
See other posts from Stack Overflow
or by fmz
Published on 2010-05-06T18:49:19Z
Indexed on
2010/05/06
18:58 UTC
Read the original article
Hit count: 193
I have a web page that is displays differently in Firefox and Safari (IE testing yet to come).
The page displays as expected in Safari, but there is a 50px margin between the body and the HTML that I can't determine what is causing it.
Here is the CSS for the body:
body {
font-size: 13px;
line-height: 1.333em;
background: #f6eaae url(../_images/parchment-big.jpg) no-repeat center top;
font-family: "Lucida Grande", Lucida, Verdana, sans-serif;
color: #323232;
}
I would really appreciate some assistance in finding what is causing this difference. Ideally the Firefox version is better because it gives that extra breathing room at the top.
Thanks.
© Stack Overflow or respective owner