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

Re: scale: font-size to % of client window?

From: Rijk van Geijtenbeek <rijk@iname.com>
Date: Thu, 11 Jul 2002 22:04:23 +0200
Message-ID: <14442668833.20020711220423@iname.com>
To: www-style@w3.org

Hello jonathan,

On Thursday, July 11, 2002 you wrote:

> Is it possible to scale font-size to % of client window size?

Nope. This is one a the few things missing w.r.t font sizing.

The other thing I miss is being able to restrict the width of an
element to a certain number of characters (only useful with fixed
width fonts).

> as for instance : img {width: 15%} does for images

> This might ensure that a defined text remains visible, for instance a 
> virtual keyboard.
> (can users over-ride this?)

> If this is not possible, has it been considered?

I've heard it was considered, and not deemed useful. A problem would
be that you'd have to use a very small value for 'normal' text.

  body {font-size: 1.05%}
  h1 {font-size: 1.33%}
  h2 {font-size: 1.275%}

 Rijk                            mailto:rijk@iname.com

Mot du Jour:
And don't start a sentence with a conjunction.
Received on Thursday, 11 July 2002 16:04:12 UTC

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