Minimum and maximum padding and margin wanted

In What I Want From CSS3 - Part 1, Andy Budd notes that min-padding, max-padding, min-margin and max-margin would be very useful, especially for liquid layouts.

Yes indeed, that would be very useful. I suppose the properties Andy mentions would be the shorthand versions, so to specify the minimum amount of padding for an element you would write something like this:

  1. min-padding: 0em 1em 1em 2em;

And the corresponding longhand would be this:

  1. min-padding-top: 0em;
  2. min-padding-right: 1em;
  3. min-padding-bottom: 1em;
  4. min-padding-left: 2em;

Posted on October 27, 2005 in Quicklinks, CSS