Link to home
Start Free TrialLog in
Avatar of MattWilkinson
MattWilkinsonFlag for United Kingdom of Great Britain and Northern Ireland

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:Button>

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
Avatar of MattWilkinson
MattWilkinson
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial