G
Gene Wirchenko
Dear HTMLers:
1) How does one limit the amount of input that can go into a text
value?
I will be writing an application in which many of the values are
fixed-length. I would prefer to not even have too long input
possible. (Yes, I will check it at the DBMS level, but why allow it
in the first place?) I also want the input field to be appropriately
sized so that it is obvious how many characters can be entered. For
example:
Client Code: ___
Client Name: ________________________________________
If it is necessary to restrict the entry fields to using a
fixed-widgth font, that is quite acceptable.
2) How can I right-align input?
For currency amounts, it makes much more sense for it to appear
as in
Disbursement Minimum: 100.00
---------- (showing field length)
than
Disbursement Minimum: 100.00
----------
3) In CSS, what is the difference between width and max-width?
Sincerely,
Gene Wirchenko
1) How does one limit the amount of input that can go into a text
value?
I will be writing an application in which many of the values are
fixed-length. I would prefer to not even have too long input
possible. (Yes, I will check it at the DBMS level, but why allow it
in the first place?) I also want the input field to be appropriately
sized so that it is obvious how many characters can be entered. For
example:
Client Code: ___
Client Name: ________________________________________
If it is necessary to restrict the entry fields to using a
fixed-widgth font, that is quite acceptable.
2) How can I right-align input?
For currency amounts, it makes much more sense for it to appear
as in
Disbursement Minimum: 100.00
---------- (showing field length)
than
Disbursement Minimum: 100.00
----------
3) In CSS, what is the difference between width and max-width?
Sincerely,
Gene Wirchenko