This is the code I'm using:
<!DOCTYPE html> <html lang="en"> <head> <meta name="viewport" content="width=device-width; initial-scale=1.0" /> <link rel="stylesheet" href="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.css" /> <script src="http://code.jquery.com/jquery-1.6.1.min.js"></script> <script src="http://code.jquery.com/mobile/1.0b1/jquery.mobile-1.0b1.min.js"></script> </head> <body> <div data-role="page" id="home"> <div data-role="header" data-theme="b"> <h1>Home</h1> </div> <div data-role="content" data-theme="b"> </div> <div data-role="footer" data-position="fixed" data-id="pFooter"> <div data-role="navbar"> <ul> <li><a href="#" data-icon="custom" class="ui-btn-active" >Home</a></li> <li><a href="#first" data-icon="grid">Page1</a></li> <li><a href="#" data-icon="star">Page2</a></li> <li><a href="#" data-icon="arrow-r" data-iconpos="notext"></a></li> </ul> </div> </div> </div> </body> </html>
You can see it in action here http://jsfiddle.net/PJWQr/
The problem I am facing is that in the last button, where I use data-iconpos="notext" , the height of the interactive area is less than the other buttons on the navigation bar.
Please let me know how to fix this.
source share