Web Hosting Talk







View Full Version : IE text size - how do you turn this off


shockeffects
12-20-2004, 10:45 AM
hello,

how do you create a page that will not change the text size no matter what the end user does?

sample site is:

killersites.com

click 'view'
click 'text size'

no matter what size you pick, text does not change at all...

how do you do this? is there a code that i can insert?

thanks. :)

the_pm
12-20-2004, 11:02 AM
Originally posted by rbconnect
hello,

how do you create a page that will not change the text size no matter what the end user does?

sample site is:

killersites.com

click 'view'
click 'text size'

no matter what size you pick, text does not change at all...

how do you do this? is there a code that i can insert?

thanks. :)

It's impossible to do. Specifying fonts in pixels or points in your style sheet(s) will make it most difficult in IE, though end users can still override this through accessibility settings. In all other browsers, site authors are not given the right to disable important browsing features.

But why would you ever do this to your visitors in the first place? It doesn't work reliably, and when it does work it only serves to make your site unusable for people who rely on being able to make font adjustments to surf the Web.

dmxo
12-21-2004, 05:41 AM
man, this is an IE only feature they use.
I am using FireFox and I can resize that site's font.
I don't prefer you take that route, don't prohibit the user from such a thing, accessibility wise, this may not let it be visible for all your audiance.

nuk3
12-21-2004, 06:11 AM
Most webmasters who have a brain will use em or percentages for their font sizes anyway. This is because they actually want their websites to be accessable. But, If you really really want a static text size, the only thing I can think of would be to use images or flash.

Rich2k
12-21-2004, 06:48 AM
Yep fixed font sizes shouldn't be used for accessibility reasons, you should design your site with the concept in mind that people WILL change the size of the fonts.

The problems is down to IE which doesn't allow you to use the VIEW -> TEXT-SIZE option with fixed font sizes but other compliant browsers do. If IE allowed it as well I'm sure the accessibility rules would probably be different.

innovation
12-23-2004, 03:33 AM
On my computer it's pretty easy to change the fotn size on any page. I hold down the CTRL button, and I have a little ball on my mouse that I can move forward of backwards. Forward makes the font smaller, and backward makes it bigger. It works for all browsers :)

SEAL31
12-23-2004, 05:20 AM
Using em is not that great. Simply because all browsers defualt settings are diffrent per size. 1em in one browser can be adversely large than 1em in another. I use pixels, and I can resize them in FF and others. But IE doesnt like that. You can make hacks specific to IE if you'd like, or even set it up so a user can select their stylesheet (fixed size, em size).

Rich2k
12-23-2004, 03:34 PM
Originally posted by animecivil
On my computer it's pretty easy to change the fotn size on any page. I hold down the CTRL button, and I have a little ball on my mouse that I can move forward of backwards. Forward makes the font smaller, and backward makes it bigger. It works for all browsers :)
Doesn't work in Internet Explorer using fixed font sizes. This is a problem with IE, if you use fixed font sizes the change size tools don't work.