MattWilkinson
asked on
ASP.NET Button won't style in IE6/7
I have several buttons in my ASP.NET page that I am styling using a CSS.
HTML:
<asp:Button id="Button2" runat="server" Text="Button" CssClass="RegularButton">< /asp:Butto n>
CSS:
.RegularButton {
background-color:#333333;
color:#FFFFFF;
font-weight:bold;
width:200px;
}
This works fine on my development laptop (IE8) but just displays a standard button with no style in IE6 and IE7. I am using it in a .NET 1.1 website but I don't think this should make any difference should it?
HTML:
<asp:Button id="Button2" runat="server" Text="Button" CssClass="RegularButton"><
CSS:
.RegularButton {
background-color:#333333;
color:#FFFFFF;
font-weight:bold;
width:200px;
}
This works fine on my development laptop (IE8) but just displays a standard button with no style in IE6 and IE7. I am using it in a .NET 1.1 website but I don't think this should make any difference should it?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.