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

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%)

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

Wouter Verheijen,                          <W.J.A.Verheijen@xs2mail.com>
  XS2Mail: Feature-rich webbased access to any POP3 and IMAP mailbox.
Received on Thursday, 25 July 2002 15:35:05 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:02 UTC