Web Hosting Talk







View Full Version : browser text size


mantra
03-18-2005, 04:50 PM
Is there a way to ignore the Text Size option in internet explorer.

I don't want anyone to be able to change the text size on my site. I would like to keep it a standard size and not give option to resize.

Is there a script or something that will ignore the text resize option in internet explorer?

thanks

ub3r
03-18-2005, 04:52 PM
Why would you do that?

That's not good for accessability.

mantra
03-18-2005, 04:59 PM
i know, but some users might not know how to resize .. and then my site will look horrible.

SharkBait
03-18-2005, 06:18 PM
Not sure of the best way, but wouldn't CSS work? You would set the actual size of the font, you could even set the percetage for the font to, but I am not sure if the text size option in IE and others will modify this.

nekoZ
03-19-2005, 12:54 AM
Don't think it is possible since it is a browser function. I tried to do this once before but had no luck.

andbin
03-19-2005, 06:23 AM
First of all, fixing text size is not good for accessibility reasons. But apart this, you can use font sizes in pixels (px) in CSS styles. IE has no way to change dimension on a text size specified in pixels, unless you configure the "accessibility" features. But other browsers (Firefox for example) can even change text sizes specified in pixels! (with the Text Size Increase/Decrease option in the View menu).

On my site freshcss.com I have choosen to use the opposite feature you are requesting. Visitors can select text size from 3 possible sizes. And the selection is persistent through browser sessions due to cookies!