Grey Out Form Element(s) w/ HTML?

liunx

Guest
this may be a dumb question, but is it possible to grey out form elements, like a textbox, with just HTML?<br />
<br />
If not, will HTML and JavaScript do it?<br />
<br />
Thanks!<!--content-->What do you mean to "grey them out". This might be what you are looking for but I am not sure.<br />
<br />
<input type="text" name="field1" style="background:gray;" onFocus="this.style.background='white';" onBlur="this.style.background='gray';"><!--content-->Colour the thing grey or disable user-input is the question, we are asking...<!--content-->thanks, but thqat was not what i was looking for...i meant grey out the elements so the user cannot enter any info in it..<br />
<br />
i am also using netscape 4.76<!--content--><input type="text" name="textField" disable="disabled" onFocus="this.blur();"><!--content-->
 
Back
Top