Contact Our Development Team
Free Code Tutorials & Open Source Code
CSS Lists
Tutorials > CSS > Lists
CSS Lists
Lists in CSS are very similar to lists in HTML, using the list-style-type parameter to set the type of list in the same way we used the type attribute in HTML:
ul{ list-style-type: circle; }
ol{ list-style-type: upper-roman; }
You can also use images as your bullet type (which will replace the increment in ordered lists as well as in unordered lists):
ol{ list-style-image: url('/images/list.jpg'); }
  1. This list now has
  2. images instead of numbers
Page Responses
Currently there have been no responses to this page...
If you have anything to contribute to this tutorial, found a bug, or know a better way of achieving the same goal, please leave your response below.
     
Copyright ©2009, Wired IDS Ltd. | Licensed under Creative Commons Attribution Share-Alike | Load time: 0.31 seconds