[EMAIL PROTECTED] wrote on 05/04/2005 01:26:06 PM: > Hi, > > There are times when you can get a desired result using either padding or > margins. Is there any reason why one or the other is better? > > Linda Hobbet
There are many instances where they APPEAR to be the same, yet if you check the spacing around the box's content, that is where the change occurs. If you have a border around a text element, for example, setting the padding creates space between the text and border, while margin creates space between the border and all objects outside the box. Google for the CSS Box Model and have a gander. Martin ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
