W3C home > Mailing lists > Public > www-style@w3.org > July 2002

Supporting multiple (biggest/smallest) values

From: W.J.A. Verheijen <W.J.A.Verheijen@xs2mail.com>
Date: Thu, 25 Jul 2002 21:35:53 +0200
To: www-style@w3.org
Message-ID: <20020725193553.GA4616@s010581.campus.tue.nl>

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 GMT

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