You will need to use javascript...

Check the javascript window object vars... or the screen object (i don't think that the screen object exists in all browsers)... If you get the dimentions of the current window, you can change with javascript the dimentions of the classes directly... making the effect of a resize...

The actual result isn't however particulary nice... [one thing is the user choosing to see a very small font... another is imposing a very small font to the user!]...

Cheers...


Dash McElroy wrote:

I have on my to do list this exact item. Unfortunately, I believe it will
require some javascript (Ugh...) or a fancy HTML trick that won't be well
supported on the different browsers. As of right now, I'm working on a
cookie based font size selector. That seems to be easy enough.

-Dash

Some programming languages manage to absorb change but withstand
progress.

On Tue, 5 Nov 2002, Franco Pozzer wrote:


Thanks for all and sorry for my english. I hope to write well...............

I want to calibrate/balance dinamically the font size of my application in the
html tag depending of the resolution screen.

Example if I have 800x600 I must be to use a font size or if I have 1024x766
another font size.

Have you same idea to resolve this my problems?? Sameone have a sample code for
me???

Thanks again for all.

www.infocamere.it
[EMAIL PROTECTED]





--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






---
[This E-mail scanned for viruses by Declude Virus]


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to