Pete Home wrote:

>Is there a way to scale the font size as the window size increases? I am
>working on an elastic layout that works fin when the browser window is
>increased and reduced, however, the fonts do not increase or decrease in
>size so I end up with blank space when the window size is big and
>over-flowed text when it's small. I'd like the text size to increase as
>well.
>
>I suppose I could do something with Javascript, but I'd rather not.
>
>Regards
>Pete
>

Hi Pete,
"scale the font size as the window size increases?"

    * If this means "automatically scale the font size as the screen
      resolution changes",
      then giving the font size in relative units will help (pure css).
      See css-d Wiki page <http://css-discuss.incutio.com/?page=FontSize>.
    * If this really means "scale the font size as the window size
      increases",
      then probably the available horizontal window size is the intended
      trigger (should be possible with javascript).
      But: resizing the window (into not full screen), if the visitor
      wants to see more things as the site window: then at once the font
      size is changing without the visitor is beeing asked...
      And: some visitors use a sidebar (for history or
      favorites/bookmarks). If they enlarge the sidebar area ... then
      the font size is getting smaller!

My conclusion: I should never do it the second way! :-)

Greetings,
francky

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to