Layout fields within fieldcontain
Description
The following code shows how to layout fields within fieldcontain.
Example
<!DOCTYPE html>
<html>
<head>
<script type='text/javascript'
src='/js/lib/mootools-core-1.4.2-full-nocompat.js'></script>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet"
href="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.css" />
<script src="http://code.jquery.com/jquery-1.6.4.min.js"></script>
<script src="http://code.jquery.com/mobile/1.0/jquery.mobile-1.0.min.js"></script>
</head><!--from www . j a v a2 s .c o m-->
<body>
<div data-role="page">
<div data-role="content">
<form>
<div data-role="fieldcontain">
<label for="test01">Test 01:</label>
<input type="text" name="test01" id="test01" value="" />
</div>
<div data-role="fieldcontain">
<label for="test02">Test 02:</label>
<input type="text" name="test02" id="test02" value="" />
</div>
</form>
</div>
<!-- /content -->
</div>
<!-- /page -->
</body>
</html>