Previous Message
Next Message

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

Sent by Gunlaug_Sørtun on 19 March 2006 03:03

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?

Difficult to base anything on that sample-code (and I think most
browsers would like to see the stylesheet link inside the head-element).

A link to the actual page would be nice.

A guess would be that Opera and Firefox are following CSS standards, and
that what you see is the effect of 'Collapsing margins'[1]. That is
probably the case if you only see 'one empty line' above the content and
not at the sides.


css-discuss [EMAIL-REMOVED]]
IE7b2 testing hub --
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Message thread: