Apologies, I should've mentioned that it's a server <asp:textbox> control. I have assign a css class to my textboxes using the following code but when I disable the item the style is ignore and replaced with some generic style.
<asp:TextBox id="txtCommonTextBox" runat="server" CssClass="textcontrols"></
Main Topics
Browse All Topics





by: jasonsbytesPosted on 2007-06-28 at 07:40:32ID: 19381164
<html>
<head>
<style type="text/css">
.disabledTxt
{
background-color: #111;
border: dashed 2px #eee;
}
</style>
<body>
<input type="text" class="disabledTxt" disabled>
</body>
</html>