Thu Feb 23, 2012 8:12 pm
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>reset the list counter</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type='text/css'>
ol { counter-reset:Item }
</style>
</head>
<body>
<p>
In this example we use reset counter property. You can notice
the benefits of using this property when using nested lists.
</p>
<ol>
<li>List 1 item 1</li>
<li>List 1 item 2
<ol>
<li>List 2 item 1</li>
<li>List 2 item 2
<ol>
<li>List 3 item 1</li>
<li>List 3 item 2</li>
</ol>
</li>
<li>List 2 item 3</li>
</ol>
</li>
<li>List 1 item 3</li>
</ol>
</body>
</html>
Codemiles.com is a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to Amazon.com
Powered by phpBB © phpBB Group.