HOME

CSS Basic
CSS HOME
CSS Introduction
CSS Syntax
CSS How To
CSS Background
CSS Text
CSS Font
CSS Border
CSS Margin
CSS Padding
CSS List

CSS Advanced
CSS Dimension
CSS Classification
CSS Positioning
CSS Pseudo-class
CSS Pseudo-element
CSS Media Types

Examples/Quiz
CSS Examples
CSS Quiz Test

References
CSS2 Reference
CSS2 Print
CSS2 Aural
CSS Units
CSS Colors
CSS Colorvalues
CSS Colornames

Resources
CSS Books
Download XMLSpy here
Please visit our sponsors !

The list-style-type property

Back

The list-style-type sets the type of the list-item marker.

Note: Some browsers only support the "disc" value.

Inherited: Yes

Example

ul
{
list-style-type: disc
}

Possible Values

Value Description NN IE
none No marker 4.0 4.0
disc The marker is a filled circle 4.0 4.0
circle The marker is a circle 4.0 4.0
square The marker is a square 4.0 4.0
decimal The marker is a number 4.0 4.0
decimal-leading-zero The marker is a number padded by initial zeros (01, 02, 03, etc.)    
lower-roman The marker is lower-roman (i, ii, iii, iv, v, etc.) 4.0 4.0
upper-roman The marker is upper-roman (I, II, III, IV, V, etc.) 4.0 4.0
lower-alpha The marker is lower-alpha (a, b, c, d, e, etc.) 4.0 4.0
upper-alpha The marker is upper-alpha (A, B, C, D, E, etc.)  4.0 4.0
lower-greek The marker is lower-greek (alpha, beta, gamma, etc.)    
lower-latin The marker is lower-latin (a, b, c, d, e, etc.)    
upper-latin The marker is upper-latin (A, B, C, D, E, etc.)    
hebrew The marker is traditional Hebrew numbering    
armenian The marker is traditional Armenian numbering    
georgian The marker is traditional Georgian numbering (an, ban, gan, etc.)    
cjk-ideographic The marker is plain ideographic numbers    
hiragana The marker is: a, i, u, e, o, ka, ki, etc.    
katakana The marker is: A, I, U, E, O, KA, KI, etc.    
hiragana-iroha The marker is: i, ro, ha, ni, ho, he, to, etc.    
katakana-iroha The marker is: I, RO, HA, NI, HO, HE, TO, etc.    

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" 

Notes in Netscape 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"
  • Only "decimal", "lower-roman", "upper-roman", "lower-alpha", and "upper-alpha" work on ordered lists
  • Only "none", "disc", "circle" and "square" work on unordered lists


Back

Jump to: Top of Page or HOME or Printer Friendly 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


Validate How we converted to XHTML Validate

IISProtect
Password Protect
Your Web Pages



Your own Web Site?

Read W3Schools
Hosting Tutorial



ASP Hosting
ASP.net Hosting
Web Hosting



$15 Domain Name
Registration
Save $20 / year!



Advertise
at W3Schools

Only 0.5 CPM



SELECTED LINKS

Books Online

Web Software

The Future of
Web Development


Jobs and Careers

Web Security
Web Statistics
Web Standards


PARTNERS

W3Schools
TopXML
VisualBuilder
XMLPitstop
DevelopersDex
DevGuru
Programmers Heaven
The Code Project
Tek Tips Forum
ZVON.ORG
TopXML Search