Hello,
In the header bar of my home page, I must have a button (cancel) and next to it a label (Home).
I tried to do it, but they are displayed in 2 lines ( CANCEL in a line and HOME in another )
my code :
- <div class="ui-bar ui-bar-b">
-
- <input type="button" value="Cancel" onclick="window.close()"/>
- <h1> Acceuil</h1>
- </div>
and in the Header of the page I put this :
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>My Page</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
-
- <link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css" />
- <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.1.min.js"></script>
- <script type="text/javascript" src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
-
- </head>