W3C home > Mailing lists > Public > www-style@w3.org > January 2001

margin vs. padding

From: Francisco Brandão <francisco.brandao@teknoland.com>
Date: Tue, 9 Jan 2001 12:31:44 -0000
To: <www-style@w3.org>
Message-ID: <HOEBKGGGAINFIKJONCJEAEDECBAA.francisco.brandao@teknoland.com>

i would like to know what´s the real big difference (if there is anyone)
between the use of margin and padding properties to adjust and control the
distance between the contents of a page and the surroundings
top|bottom|left|right margins of the browser area.
i've tested with both properties on IE5, NS4 and NS6 and it seems to work
all in the same way ....
is there any preference for one of them on the Body tag in CSS ??

.thanks in advance.

..... waiting feedback



-------------------------------
francisco.brandão@teknoland.com

Teknoland Portugal
Praça do Príncipe Real, 18
1250-184 Lisboa
Portugal
T. +[351] 21 323 57 00
F. +[351] 21 323 57 99
\\office@teknoland.co.pt
\\www.pt.teknoland.com
-------------------------------
Received on Tuesday, 9 January 2001 07:34:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:54:07 GMT