1. Home
  2. Computing & Technology
  3. Web Design / HTML

list-style

By Jennifer Kyrnin, About.com

list-style Description:

The list-style property is a shorthand property for defining all the properties of a list in one place.

list-style in CSS Versions:

list-style Syntax:

list-style: [ <list-style-type> <list-style-position> <list-style-image> ] | inherit

list-style Initial Value:

Not defined for shorthand properties.

list-style Applies To:

All elements with display value of list-item.

list-style Inheritance:

This property is inherited.

list-style Browser Support:

list-style Examples:

standard list

<ol style="list-style: alpha inside none;">
<li>one</li>
<li>two</li>
<li>three</li>
</ol>

list-style Special Notes:

  • You can use numerical lists in an unordered lists and bullets in an ordered list.

More list-style Information:

Return to the Style Library

Explore Web Design / HTML

More from About.com

  1. Home
  2. Computing & Technology
  3. Web Design / HTML
  4. About.com Web Design A to Z
  5. Books
  6. About Web Design Book
  7. AWD: Chapter 12
  8. CSS Style Property: list-style

©2008 About.com, a part of The New York Times Company.

All rights reserved.