[thelist] ReadOnly TextBox BackColor ??

Casey aspnet at thecrookstons.com
Mon Aug 15 15:46:29 CDT 2005


Okay!  That works!  For whatever fubar silly reason, it won't let me change
the bgcolor to "white" or "#ffffff".  If I try, it over-rides it and sets it
to the ugly grey.  But, I can change it to ALMOST white, "#fefefe" and that
works just fine.

Weird.

Thanks for the help!


From: "VOLKAN ÖZÇELIK" <volkan.ozcelik at gmail.com>
To: <thelist at lists.evolt.org>
Sent: Monday, August 15, 2005 9:50 AM
Subject: Re: [thelist] ReadOnly TextBox BackColor ??


> > 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.
> -- 
>
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !



More information about the thelist mailing list