1. Computing & Technology

Discuss in my forum

list-style

By , About.com Guide

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:

©2012 About.com. All rights reserved.

A part of The New York Times Company.