W3C home > Mailing lists > Public > www-style@w3.org > October 2003

Re: Collapsing vertical margin through parent. why?

From: Joachim Noreiko <jnoreiko@yahoo.com>
Date: Thu, 16 Oct 2003 19:18:05 +0100 (BST)
Message-ID: <20031016181805.76874.qmail@web14007.mail.yahoo.com>
To: staffan.mahlen@comhem.se, Boris Zbarsky <bzbarsky@MIT.EDU>
Cc: "www-style@w3.org" <www-style@w3.org>

 --- staffan.mahlen@comhem.se wrote: > 

> 
> A better route would probably be to require the
> author do explicitly 
> remove such excess margins when it does cause
> problems, or do things 
> like with nested lists in the default style sheet if
> there are know 
> cases where the nested margin are known to cause a
> problem.  

Perhaps the simple example could be achieved with some
"smarter" margin properties, eg:
P { 
margin-between: 2em; /* amount of margin between 2
successive P elements */
}

________________________________________________________________________
Want to chat instantly with your online friends?  Get the FREE Yahoo!
Messenger http://mail.messenger.yahoo.co.uk
Received on Thursday, 16 October 2003 14:21:24 GMT

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