- From: alan ball <balala00@yahoo.com>
- Date: Mon, 4 Jun 2007 07:57:33 -0700 (PDT)
- To: Zoffix Znet <zoffix@zoffix.com>, Windy Road <tom@windyroad.org>
- Cc: www-style@w3.org
Indeed. I like the idea, but the pixel-size of the browser vieport doesn't necessarily mirror the size of the screen resoloution. Such a dynamic font size would have to be dependant on both local screen res, and optimum font size for the viewport. Eg: On a 24" screen (for argumanets sake - 1900x1200) I have several browser windows open - I vary from stretched browser windows to smaller windows so i can work on different things. If the window is resized from 1200 pixels to 800 pixels, based on your demo, the font would be unreadable. On a 12" screen (800x600) however, the font size may be disproportionally large. with font size, I think it's probably better to have a 'size-family' taking a minimum size, and maximum size, then adjusting depending on the screen res. Alan --- Zoffix Znet <zoffix@zoffix.com> wrote: > > On Mon, 2007-04-06 at 11:31 +1000, Windy Road wrote: > > Hi, > > > > I would like to propose a new "auto" value for the > "font-size" > > property. When set the broswer would try to > automatically set the > > font-size, based on the element width, margins and > padding ( (e.g. > > width: 50em; margin: 1em; padding: 1em). > > > > A javascript simulation of the desired behaviour > is available at > > > > > http://windyroad.org/static/resolution-independence/ > > > > Thoughts? > > > > Follow up to my previous comment... > > I think the algorithm should implement something > like minimum font > size/maximum font size BEFORE the browser setting > kicks in. As to limit > the range in which the "font-size: auto" would > resize the fonts. > -- > Thank you for your time. > Regards, Zoffix Znet > ( http://zoffix.com , > http://haslayout.net ) > > > ____________________________________________________________________________________ Moody friends. Drama queens. Your life? Nope! - their life, your story. Play Sims Stories at Yahoo! Games. http://sims.yahoo.com/
Received on Monday, 4 June 2007 16:00:31 UTC