Click to See Complete Forum and Search --> : keepingfont size static (not re-sizeable)
bbwalker
09-18-2006, 09:50 AM
I've seen sites where I can't make the font larger by changing my settings, but I can't see how to do that in my own code.
How can I keep others from re-sizing my fonts?
thanks!
bbwalker
felgall
09-18-2006, 02:51 PM
You have to ask them to run an antiquated browser that doesn't give them a choice. All modern browsers (including IE7) give control of the font size to the person viewing the page so that if they need to make the text bigger to be able to read it then they can.
Centauri
09-18-2006, 07:34 PM
Setting font sizes in pixels will prevent resizing in older browsers (such as IE6), but as felgall points out above, decent browsers will still allow it. Trick is to use a font size large enough that most users won't NEED to resize to read, and to make the page layout fluid and not dependant on font size.
Cheers
Graeme
felgall
09-18-2006, 07:42 PM
Of course even with older browsers such as IE6 your visitors can always create their own stylesheet to override the appearance of all of the web pages they visit with their own choices for font size etc.
bbwalker
09-19-2006, 01:57 PM
Thanks for the advice. I agree that you should allow your user flexibility and design with that in mind, but I have a designer friend who INSISTS that he wants his text to appear exact like in print, yet keep it in HTML. Your info will help me make my argument that he can't have his font and keep it too :D
bbwalker
felgall
09-19-2006, 02:49 PM
HTML defines the content. It has nothing to do with the final appearance of that content which is determined by whatever stylesheets are attached to it by both the author and the visitor with the visitor's ideas on how it should look overriding whatever the author sets.