Jquery Mobile - Basic List View with data-inset property
In this JQM example we take a look at the data-inset property on the JQM listview. This example is a very simple one which helps us understand the purpose of data-inset property.
by Shreerang Patwardhan
February 04, 2013
HTML
<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.css">
<script src="http://code.jquery.com/jquery-1.8.2.min.js"></script>
<script src="http://code.jquery.com/mobile/1.2.0/jquery.mobile-1.2.0.min.js"></script>
<!DOCTYPE html>
<html>
<head>
<title>Jquet=ry Mobile - Basic List View</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<ul data-role="listview" data-inset="true">
<li><a href="http://shreerangpatwardhan.blogspot.com">Spatial Unlimited</a></li>
<li><a href="http://shreerangpatwardhan.blogspot.in/p/code-samples.html">Google Maps API Examples</a></li>
<li><a href="http://shreerangpatwardhan.blogspot.in/p/jquery-mobile.html">Jquery Mobile Examples</a></li>
</ul>
</body>
</html>