September 28th, 2003, 06:16 PM
Using CSS to make a textfield readonly
Is it possible to control the the readonly of a textfield in a form with CSS, I tried to add readonly: true; but this does not work.
my style is:
font-family: Verdana, Arial, Helvetica, sans-serif;
Any help is welcome.
September 28th, 2003, 06:41 PM
I someone does know of a way I would be intersted too.
September 28th, 2003, 07:32 PM
No way to do it in CSS, do it in the markup tag or by script.
September 29th, 2003, 03:53 AM
Shame, got a load of textfields that need readonly assigned.
September 29th, 2003, 04:02 AM
A cheap workaround would be to layer something over it.