Click to See Complete Forum and Search --> : Fixed font size with text zoom


martins
05-01-2009, 04:52 AM
Is there a way to set a font size that does not scale when text zoom is employed in a browser? I am only concerned with text zoom not page zoom.

I would like to apply this to a couple of divs that are spoiling the rest of the page appearance when the text is enlarged.

Pixel fonts suffice with IE but is there any solution with other browses?

Thanks.

fuzd
05-02-2009, 01:21 PM
Seriously, why would you prevent people people from zooming text when they might need to do it to read the text? People with disabilities are potential customers/partners like everyone else. Web Accessibility should be taken seriously

Instead i highly recommend that you code your xhtml and stylesheets so your site will accommodate text in variable sizes. Example: Don't set fixed heights on containers but let the padding and content decide the height.

I recommend this book
http://www.zeldman.com/dwws/