You are here: Re: Prevent User From Changing Font Size in FireFox « HTML « IT news, forums, messages
Re: Prevent User From Changing Font Size in FireFox

Posted by Neredbojias on 07/20/05 20:29

With neither quill nor qualm, crjunk@earthlink.net quothed

> First, let me say that I know that doing something like preventing the
> user from changing the font size is never a good thing from a usability
> standpoint.
>
> Let me explain why I'm trying to do this. I'm trying to recreate an
> online payment invoice that looks very similar to the hard copy invoice
> we mail out to our customers. The user will be able to print out this
> invoice from their web browser and mail it in along with their payment.
> The web browser printout needs to be similar in size to the invoice we
> mail out. I would prefer to create the invoice as a PDF for the user,
> but because of deadline time constraints, I do not have this luxury.
>
> I have found examples on how to limit the size of text in IE, but this
> solution does not work in FireFox. Is there a way to "lock" the size
> of text in Fireox?

You can make the font size the same size *relative to the page size*
using javascript. Works in Mozilla, IE, etc. Here's an (old) example:

http://www.neredbojias.com/alpha/rextex.html

--
Neredbojias
Contrary to popular belief, it is believable.

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация