Supporting multiple (biggest/smallest) values

Considering module "Values and units", I would like to propose the
following.

When creating webpages, the size of the users' screen can vary greatly.
A common problem is to want a text column e.g. 10em width, but not wider
than the screen (to avoid horizontal scrolling bars).

Similiarly, a scenario for a largest value may be possible, for e.g.
font sizes.

Proposal: in all places where an ordinary value is accepted, support a
syntax like:

  smallest(10em, 90%)
  largest(4em, 10%)

Example:
  .sometext { font-size: largest(80%, 10px) }

Regards,
-- 
Wouter Verheijen,                          <W.J.A.Verheijen@xs2mail.com>
  XS2Mail: Feature-rich webbased access to any POP3 and IMAP mailbox.
http://www.xs2mail.com/

Received on Thursday, 25 July 2002 15:35:05 UTC