W3C home > Mailing lists > Public > www-style@w3.org > September 2004

Re: Box model: min-margin and max-margin, max-padding and min-padding

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Thu, 30 Sep 2004 15:07:08 +0200
To: Elliotte Harold <elharo@metalab.unc.edu>
Cc: www-style@w3.org
Message-ID: <415f02e0.11013045@smtp.bjoern.hoehrmann.de>

* Elliotte Harold wrote:
>You can set min-widths and max-widths on boxes. However, you cannot set 
>min-margins and max-margins, and min-paddings and max-paddings on boxes. 
>These can only be given as fixed values. This causes a problem when 
>using a normally positioned box up against an absolutely positioned box. 
>  In this circumstance (typical of a Navbar on a web page) it is 
>necessary to set the margins of the regularly positioned box wide enough 
>to make room for the absolutely positioned box.

It seems you want to place an element relative to another element, why
would you use absolute positioning at all here? Maybe you could give a
realistic example with markup and style sheet that clearly demonstrates
the need for 20+ new properties?
Received on Thursday, 30 September 2004 13:07:52 GMT

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