Can I 'lock' text size so viewer can't change it in browser?

  • Thread starter Thread starter Frank
  • Start date Start date
F

Frank

If a visitor to my web site enlarges the text size in his
browser, it breaks-up all the lines of text and mis-
aligns the entire page layout.

How can I "lock" the text size so that it can't be
changed by the person viewing it in their browser?
 
You cannot, except by converting your text to a graphic, which is very ill
advised for lots of reasons.

Except for IE6, any modern browser can resize your text. Even in IE6, it is
a simple matter to override the text properties (TOOLS | Internet Options >
Accessibility > Ignore font sizes specified on Web pages....
 
If your text is too small for me, or grey on a black background, I'll leave
your site very quickly! Please reconsider. You'll may have to choose better
ways to build your pages.
Eleanor
 
This is not recommended, as users have reasons for viewing the text at
certain sizes, such as sight problems. I, for one, will leave a site that
won't allow me to use the text size I choose.

Anyway, Googling for "fixed text size" brings up some sites, including:
http://www.codeproject.com/html/fixedfont.asp
--
===
Tom "Pepper" Willett
Microsoft MVP - FrontPage
---
About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
FrontPage 2003 Product Information:
http://www.microsoft.com/office/frontpage/prodinfo/default.mspx
Understanding FrontPage:
http://msdn.microsoft.com/office/understanding/frontpage/
===
| If a visitor to my web site enlarges the text size in his
| browser, it breaks-up all the lines of text and mis-
| aligns the entire page layout.
|
| How can I "lock" the text size so that it can't be
| changed by the person viewing it in their browser?
 
IE 6 can actually modify text size. View menu >> Text Size. If you have a scroll
mouse, then you can do it with that too, hold down ctrl key and scroll up/down
with the scroll wheel on the mouse.

in the accessibility options you can even use your own stylesheet to override the
web site author's settings.
 
You can't really do that, and you really shouldn't. A lot of people that
adjust the size do it for their own viewing issues and become angry when
someone tries to force them to view a page in a specific way. User's with
visual issues, eye strain, etc... can become highly aggitated at this.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top