Discussion Locked

How to make text size in IE constant?

0 helpful
2 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
There are some web sites where the text size in IE does not change even after making changes on menubar item - "View" -> "Text Size" -> "Smallest" or "Largest"? What is the technique (in Dreamweaver) or is there a HTML/Javascript code to achieve this function?

2 replies

by glen ford

Yes, CSS is the way to go. It's really pretty easy, though the syntax can be confusing for first-timers who are only used to HTML. It's well worth the effort learning to hand-code it. The hardest part is knowing all the possibilities; the W3C and msdn.microsoft.com/library/ are excellent references.

My word of warning is this: I don't think that limiting the font size shows much respect for your users. I'm probably like you in that I'm graphically minded and want to exert a lot of control over the page, but I've evolved beyond that somewhat. For instance, my current application ignores the Internet Explorer font selection but still allows the user to change my font size. The key is to specify the font size units in EMs in your CSS file (rather than points). I have JavaScript set the default font size as the page loads, and the user can change it with graphical buttons I created. The system "remembers" the font size by setting/reading a cookie, so the user doesn't have to change it every time they visit.

It takes a little extra effort, but you can walk the fine line between layout control and accomodating a wide variety of users with different eyesight and color perceptions.

I'd be glad to send my code to anyone who is interested. E-mail me at: gcford@mcdermott.com

--Glen

This discussion is closed to new replies.