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 23:55:26 +0200
Message-ID: <1234505934.20020711235526@iname.com>
To: www-style@w3.org

Hello jonathan,

On Thursday, July 11, 2002 you wrote:

> <span width="15%"> jack</span>

> is this what you had in mind?

Ahem. Which of the points discussed below is this supposed to address?
BTW, I hope this doesn't do anything in any browser!

I know some early Opera 4 versions allowed things like that (css
properties as html attributes). That was taking the idea of using
CSS-translations for all presentational HTML attributes a few steps
too far :)

> thanks

> jonathan

> ----- Original Message ----- 
> From: "Rijk van Geijtenbeek" <rijk@iname.com>
> To: <www-style@w3.org>
> Sent: Thursday, July 11, 2002 9:04 PM
> Subject: Re: scale: font-size to % of client window?


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




Greetings,
 Rijk                            mailto:rijk@iname.com

Mot du Jour:
Climate is what you expect. Weather is what you get.
Received on Thursday, 11 July 2002 17:54:15 GMT

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