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

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

From: jonathan chetwynd <j.chetwynd@btinternet.com>
Date: Fri, 12 Jul 2002 09:40:12 +0100
Message-ID: <00cb01c2297f$bf00c7c0$c77520d9@RJCHETWYND>
To: "Rijk van Geijtenbeek" <rijk@iname.com>, <www-style@w3.org>

I think there may be a significant difference of meaning here, or perhaps
your comment did not relate so directly as I imagined to the subject, Re:
scale: font-size to % of client window?

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

my conception was that the font-size for 'jack' would change so that it
always filled 15% of the width of the screen.
so would a different 4 letters say 'meme' necessarily be in another
font-size? my guess is not, for a given font.

Are you concerned that the font-size be related to the client window size?

thanks

jonathan


----- Original Message -----
From: "Rijk van Geijtenbeek" <rijk@iname.com>
To: <www-style@w3.org>
Sent: Friday, July 12, 2002 8:41 AM
Subject: Re: scale: font-size to % of client window?


>
> 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 04:40:20 GMT

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