Layout form controls with ui-block
Description
The following code shows how to layout form controls with ui-block.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='http://code.jquery.com/jquery-1.7.1.js'></script>
<script type="text/javascript"
src="http://code.jquery.com/mobile/1.0.1/jquery.mobile-1.0.1.min.js"></script>
<script type='text/javascript'
src="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.js"></script>
<link rel="stylesheet" type="text/css"
href="http://code.jquery.com/mobile/1.1.0/jquery.mobile-1.1.0.min.css">
</head><!--from w w w . j a v a 2 s . com-->
<body>
<div class="ui-grid-a">
<div class="ui-block-a">
<input name="newT1" type="text">
</div>
<div class="ui-block-b">
<input id="newCorrect1" name="newCorrect" value="2" type="radio">
<label for="newCorrect1">Answer 1</label>
</div>
<div class="ui-block-a">
<input name="newT2" type="text">
</div>
<div class="ui-block-b">
<input id="newCorrect2" name="newCorrect" value="2" type="radio">
<label for="newCorrect2">Answer 2</label>
</div>
<div class="ui-block-a">
<input name="newT3" type="text">
</div>
<div class="ui-block-b">
<input id="newCorrect3" name="newCorrect" value="2" type="radio">
<label for="newCorrect3">Answer 3</label>
</div>
</div>
</body>
</html>