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 (http://meyerweb.com/eric/), List Chaperone
"CSS is much too interesting and elegant to be not taken seriously."
   -- Martina Kosloff (http://mako4css.com/)
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: