I have a web application with several TextBoxes. However, I need some of them to stick with Multiline because of the text they will contain. Every time I make this change I lose the CSS settings. From what I've researched it seems to me that the TextBox transforms into TextArea in Runtime.
So, I needed to know how to keep or even add CSS to this object, so I can keep my back colors, fonts, and Sizes.
Sample ASP:
<asp:TextBox ID="txtCC" runat="server" TextMode = "MultiLine" Width="100%" CssClass="textArea" ReadOnly="True"></asp:TextBox><br />
CSS example
.textArea
{
background-color:#EEEEEE;
font-family: Verdana;
font-size: 11px;
}