Previous Message
Next Message

body: margin=0 and padding=0, not working in Firefox or Opera

Sent by Eric A. Meyer on 19 March 2006 03:03

At 2:38 AM +0000 3/19/06, SED wrote:

>I'm trying to locate the page body to x=0, y=0. It's ok in IE6 but when I
>view it in Opera or Firefox I get one empty line before the content. Why?

    Try altering your body's top padding to 1px and see if anything 
changes.  If so, you have a margin that's protruding from the body 
element, which is entirely possible.  Without a URL demonstrating the 
problem, though, that's just a guess.

Eric A. Meyer (, List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (
css-discuss [EMAIL-REMOVED]]
IE7b2 testing hub --
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: