Thank you Adam and others for responding to my question. I wasn't as clear as I should have been. I do understand the box model and what the differences are between padding and margins. I was wondering if there were some rules of thumb for which is better to use when it doesn't make any difference visually (no background, or background is set in a higher level box, and no border). I suppose that thinking about possible future redefinition of the style sheet or which is quirkier would influence choices.

2. Padding is included in the box width in some older browsers and IE6 in "quirks" mode; margins never are.
3. Margins can collapse; padding never does.

Are collapsing margins quirks or features? Where can I read about them?

Also, can anyone point me to a good tutorial on Doctypes, please?

Thank you,
Linda Hobbet


______________________________________________________________________ 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/

Reply via email to