The browser zoom level is a user parameter that exists for access purposes; it is not intended for the site developer to ever know or care about what level of scaling, so I expect that you will have problems with what you want. Of course, it will be difficult to make it work with a cross browser.
A common approach to this is to have a checkmark with dimensions that resizes the base font.
If all the font sizes on your site are in em units, you can resize all the text on the site with a single CSS change.
So, you will have a set of buttons on the site that use Javascript to set the font-size of the <body> element (for example) to 12, 14, 16 or 18 pixels depending on the click of the element.
The technique is described here: http://labnol.blogspot.com/2006/12/allow-site-visitors-to-change-font.html
source share