How to get num pixels for 1 EM when user increases font size
Posted: Sun Jun 22, 2008 12:44 am
Hi,
I know the default number of pixels for '1 em' is 16.
Now suppose a user increases the font size using the browser menu
View | Font size
I would like to know how many pixels the an 'em' is now....it could be 24, 36, etc depending on how big the user made the font. How can i get that in php code?
Any ideas. Maybe Image functions can do it?
Thanks
Savoye
I know the default number of pixels for '1 em' is 16.
Now suppose a user increases the font size using the browser menu
View | Font size
I would like to know how many pixels the an 'em' is now....it could be 24, 36, etc depending on how big the user made the font. How can i get that in php code?
Any ideas. Maybe Image functions can do it?
Thanks
Savoye