I'm taking my first steps in jQuery Mobile and I'm getting a bit disappointed with the lack of customization it provides...
As an example, I have a simple form and I'd like to customize the layout of the form components.
This is my code:
<form id="loginForm" action="#" method="post">
<input id="rememberMe" name="rememberMe" type="checkbox"/>
<label for="rememberMe">Remember me in this computer</label>
<a id="info" href="#" data-role="button" data-icon="info" data-iconpos="notext">Info</a>
<input id="submit" type="submit" value="log in" data-inline="true"/>
</form>
See the fiddle.
Concretely I'd like:
- The
rememberMe
checkbox to be as wide as the text inside, and theinfo
button to be inline with the checkbox. - The "group" containing the previous checkbox and button to be aligned to the right.
- The
submit
button to be to the right as well.
Please provide an example of how such things can be achieved...
EDIT: I'd like something like this: