PDA

View Full Version : Stop people increase text size?



drewgraham
06 Sep 2006, 05:11 AM
I have an iframe that has mostly images, but also number in it (here (http://www.drewgraham.net/mauleverer/new/www/mcoak.php)).

If someone increases the font size on their browser, the numbers increase and the iframe gets vertical scroll bars. How do I stop that text from increasing in size? My whole site is done out in ems from css.

Wickham
06 Sep 2006, 06:39 AM
IE6 will let you fix the font-size if you use px or pt instead of ems or relative names like medium.
See http://www.456bereastreet.com/archive/200602/setting_font_size_in_pixels/
Except for one. Internet Explorer for Windows is the only browser that does not let the user change the size of text that has a font size set in pixels.

Firefox and other browsers do not let you fix font sizes at all. This is because they conform to standards which allow partially sighted people to adjust font size.