There is a huge misconception about using your own JQM styles that I found everywhere, including SO. The trick using native CSS with JQM is how you write your own CSS. In general, you must first specify the element that you want to override the JQM CSS with an identifier, and then attach the JQM class to this identifier. For example, to remove a standard JQM link line using an image link, where # img_button_1 is the identifier provided to the image's anchor image, you would encode your CSS like this ...
HTML ...
<a id="img_button_1" data-role="button" data-theme="none" data-corners="false" data-shadow="false" data-inline="true" href="http://www.google.com" target="_blank"> <img src="http://www.google.com/images/srpr/logo1w.png" alt="Google" /> </a>
Your overriding CSS ...
#img_button_1 .ui-btn-inner { border: 0 }
I answered this with some working examples that can be found here.
JQuery Mobile - Using the image as a link - The blue line below the image
You can use the same method to resolve all JQM CSS conflicts. Now you can rethink the use of JQM to achieve your desired results, knowing how easy it is to resolve these conflicts using the CSS specification in your own CSS. Hope this helps!
Epiphany
source share