PDA

View Full Version : Text Size in IE



Cheng
06-24-2006, 05:38 AM
Hi.

Is it possible to add a script or some HTML code that adjusts the text size browser settings automatically if someone opens a webpage in IE.
There are 5 sizes in IE and I would like that if someone opens a certain webpage that when it opens it shows the text in medium size automatically.
If some knows how to do that please enlighten me

Thank you very much.

Cheng

djr33
06-24-2006, 07:33 AM
Well... if you have "10px" as the size, with px as the units, that is a specific size, in pixels.
Slightly more flexible are em, etc.
But, if you use %, it will base it off the user's default text size.

200% will be twice as big, etc.

Try basing it off of that.

Cheng
06-24-2006, 07:46 AM
Thanks for your reply but that is not what I want.
For example someone got his browser text settings set "Larger".
There are 5 sizes Largest, Larger, Medium, Smaller and Smallest.
I want that if the person with the settings of one of the above, that his settings get automatically reset to "Medium" if he opens this particular webpage.
Is this possible?
Thanks again.
Cheng

djr33
06-24-2006, 07:49 AM
Well.... then you're looking for something to set the size to a specific setting.... just use pixels.

However, people have settings like that for a reason; they usually can't see well, or perhaps have a large/small monitor, so they WANT it like that.

There may be a specific IE code for this... not sure.

Generally, though, changing browser settings isn't a good idea... people like what they have set... why change?