[thelist] ReadOnly TextBox BackColor ??

VOLKAN ÖZÇELİK volkan.ozcelik at gmail.com
Mon Aug 15 09:50:21 CDT 2005


> I believe it may be because the asp:textbox with the multiline
> attribute might be creating textarea element instead of the input
> element, which if that's the case, try changing Volkan's example to
> be: textarea.readonly


That's true a multi-line asp:textbox is converted to an html textarea
element as per the server output.

input.readonly, textarea.readonly {
   background: whatever;
}

Cheers,
Volkan.


More information about the thelist mailing list