Geeks With Blogs
Pankaj Tahiliani
<html>
<head>
    <style type="text/css">
        .foo
        {
            counter-reset: foo;
        }
        .foo li
        {
            list-style-type: none;
        }
        .foo li::before
        {
            counter-increment: foo;
            content: "2." counter(foo) " ";
        }
    </style>
</head>
<body>
    <ol class="foo">
        <li>Lorem Lipsum</li>
        <li>Lorem Lipsum</li>
        <li>Lorem Lipsum</li>
        <li>Lorem Lipsum</li>
    </ol>
</body>
</html>
Posted on Wednesday, June 12, 2013 6:33 PM | Back to top


Comments on this post: Using decimals in Ordered Lists

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Pankaj Tahiliani | Powered by: GeeksWithBlogs.net