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 05:34:01 +0100
Message-ID: <007a01c2295d$5a7c0610$c77520d9@RJCHETWYND>
To: "Rijk van Geijtenbeek" <rijk@iname.com>, <www-style@w3.org>

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

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

thanks

jonathan

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



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


>
> 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 Friday, 12 July 2002 00:34:13 GMT

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