ASP.net Button with CssClass not working

data11

New Member
Problem:I have two ASP.net buttons that work fine in the Chrome and Firefox browser but not in IE 9.0.\[code\]*Does not work on IE 9.0*<asp:Button ID="btnMeal" runat="server" onclick="btnMeal_Click" Text="." CssClass="buttonmeal" />*Works fine on IE 9.0 and other browsers*<asp:Button ID="btnType" runat="server" onclick="btnType_Click" Text="." CssClass="button"/>\[/code\]CSS Code:\[code\]/*Doesnt work*/.buttonmeal { background: url('../images/meal.png') no-repeat; width:82px; height:32px; border:0px; }/*Works*/ .button { background: url('../images/type.png') no-repeat; width:82px; height:32px; border:0px; }\[/code\]Maybe I think the problem is because it renders in IE differently and only button is used in IE.\[code\]<td class="myStyle"> <input type=button name=select ...></td>\[/code\]Thanks for the help.
 
Back
Top