Omar gave you the correct answer in his comment. The asp.net button is rendered to HTML as an <input>
then jQM 'enhances' it by surrounding it in a <div>
with a class of ui-btn and by hiding the <input>
. So to change the background color, you actually need to change the ui-btn div styles.
Applying a CssClass to the ASP.Net control will have no effect. Instead, on the client side try Omar's suggestion:
div.ui-btn {
background-color: green !important;
background-image: none !important;
}
In jQM 1.3, the gradient is implemented in background-image. If you want to target a specific button, you might want to assign an ID to its container and then use #containerid .ui-btn{}