Sent by Zoe M. Gillenwater on 4 May 2005 19:07
Linda H wrote:
> 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.
If there is no visual difference between the two in a particular
situation, then it is really just a personal choice at that point.
> Are collapsing margins quirks or features? Where can I read about them?
Features. You actually expect and want adjacent vertical margins to
collapse; you just don't know you do. :-) This article provides a good
explanation:
http://www.complexspiral.com/publications/uncollapsing-margins/
> Also, can anyone point me to a good tutorial on Doctypes, please?
Our wiki contains lots of info and links:
http://css-discuss.incutio.com/?page=RenderingMode
This is my favorite article on the subject in general:
http://www.communitymx.com/content/article.cfm?cid=E2F258C46D285FEE
Zoe
--
Zoe M. Gillenwater
Design Specialist
Highway Safety Research Center
http://www.hsrc.unc.edu
______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
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/