Please visit our sponsors !
The list-style property
The list-style property is a shorthand property for setting all the properties for a list in one
declaration.
Inherited: Yes
Example
ul
{
list-style: disc outside
}
ol
{
list-style: decimal inside
}
Possible Values
Value
Description
NN
IE
list-style-type
list-style-position
list-style-image
Sets the properties for a list
6.0
4.0
Browser Notes
Notes in IE 4.0+:
This property works with ordered lists and unordered lists
This property does not work with definition lists
This property does not work with elements with "display"
property set to "list-item"
Unordered lists have a default "list-style-type" value of
"disc"
Ordered lists have a default "list-style-type" value of
"decimal"
Jump to: Top of Page
or HOME or
Printer friendly page
Search W3Schools:
What Others Say About Us
Does the world know about us? Check out these places:
Dogpile
Alta Vista
MSN
Google
Excite
Lycos
Yahoo
Ask Jeeves
We Help You For Free. You Can Help Us!
W3Schools is for training only. We do not warrant its correctness or its fitness for use.
The risk of using it remains entirely with the user. While using this site, you agree to have read and accepted our
terms of use and
privacy policy .
Copyright 1999-2002 by Refsnes Data. All Rights Reserved