I'm using Jquery mobile and have an image at the top of my site designed to link to the home page.
However setting a link on this image causes Jquery mobile to format the image into a button.
I've had a look around but can't find a way to stop this.... anyone got any ideas?
Example with link: http://jsfiddle.net/wDYt6/
Example without link: http://jsfiddle.net/ewn7T/
Found a better answer here: How can i stop jQuery mobile to apply styles to my specific form elements
jQuery Mobile will ignore elements whose data-role attributes are set to none. Therefore, you can simply add these attributes to your markup:
<a href="/" data-role="none"><img src=""></a>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With