Re: Syntax for Ranges?

Kelly Miller wrote:
> 
> I was just sitting there thinking about min-height and max-height, and I 
> was thinking:  why not have a syntax for unit ranges?  Maybe something 
> like this:
> 
> height: range(18px,30em) - No smaller than 18px, no larger than 30em.

So, what height would it be?  Any random height between 18px and 30em?

> Anyone got any suggestions/ideas?

min(), max() and calc() functions have all been suggested previously and 
make a lot more sense than this.

-- 
Lachlan Hunt
http://lachy.id.au/

Received on Saturday, 29 October 2005 08:23:16 UTC