Archive for June, 2012

jQuery Mobile page structure

<html> 
	<head> 
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>jQuery Mobile: Demos and Documentation</title>
		<link rel="stylesheet"  href="css/themes/default/jquery.mobile-1.1.0.css" />
		<link rel="stylesheet" href="docs/_assets/css/jqm-docs.css" />
		<script src="js/jquery.js"></script>
		<script src="docs/_assets/js/jqm-docs.js"></script>
		<script src="js/jquery.mobile-1.1.0.js"></script>
	</head> 
	<body> 
	<div data-role="page">
	
		<div data-role="header">
			<h1>Page Title</h1>
		</div><!-- /header -->

		<div data-role="content">	
			<p>Page content goes here.</p>		
		</div><!-- /content -->

		<div data-role="footer">
			<h4>Page Footer</h4>
		</div><!-- /footer -->
		
	</div><!-- /page -->
	</body>
</html>

Leave a comment

input placeholder

<div style="width:400px; margin-top:5px; height:38px; float:left;padding-left:0px;">
<input id="note" placeholder="Additional note..." name="note" cols="46" rows="2"></input>
</div>

Leave a comment

Design a site like this with WordPress.com
Get started