Forum Moderators: not2easy
<input type="text" name="example" readonly> input:-moz-read-only { /* For Firefox */
color: #808080;
pointer-events: none
}
input:read-only {
color: #808080;
pointer-events: none
} input[readonly] {
color: #808080;
pointer-events: none
} Is there any specific reasonGiven that [attribute] [caniuse.com] (in brackets) is supposed to be supported as far back as MSIE 7--which as usual means that all other browsers including Firefox have supported it forever--I certainly can't think of any reason. How old is your source?
<input type="text" name="whatever" value="Example" readonly> <input type="hidden" name="whatever" value="Example">
<div style="height: Xpx; width: Ypx; color: #808080; border: 1px solid #808080">Example</div>