|
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]
|