EDIT
Hi,
I have a project where I want to make a mobile web app with Jquery mobile.
The problem I have is that when I am making a button with a custom button icon, I always get the plus icon. My custom icon is a PNG8 icon
This is what I do in my CSS
.ui-icon-myapp-phone {
background-color:#FFFFFF;
background-image: url(images/phoneIcon.png);
}
And I call it like this in my html.
<a href="index.html" data-role="button" data-icon="ui-icon-myapp-phone">Contacteer klant via telefoon</a>
greetz
You will have to overwrite some more CSS.
I’m doing it like this (using my own iconsprite). Feel free to patch it to your needs: