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: Fri, 12 Jul 2002 09:41:38 +0200
Message-ID: <192861377.20020712094138@iname.com>
To: www-style@w3.org

Hello jonathan,

On Friday, July 12, 2002 you wrote:

> *Rijk wrote: The other thing I miss is being able to restrict the
> width of an element to a certain number of characters

> sorry, my shorthand, often stretches a point..
> would this meet your conception*?
> maybe

> #a  {width: 15%}
> <span id="a"> jack</span>

No. What has the width of the parent element to do with the number of
characters?

I'd like to be able to translate

  <pre width="80">

to

  pre { max-width: 80char;}

This is for example useful when you want to style received plain text
e-mails or newsgroup messages on a webpage.


Greetings,
 Rijk                            mailto:rijk@iname.com

Mot du Jour:
Everywhere is walking distance if you have the time.

PS: I do follow this list, so there's no need to send duplicate mails.
They end up in the same mail folder anyway.
Received on Friday, 12 July 2002 03:40:26 GMT

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