list-style

list-style
CSS list-style Property
The CSS list-style property is CSS shorthand for specifying the list-style-image, list-style-position and list-style-type properties.
CSS CODE EXAMPLE
<style type="text/css">
#list1 {
    list-style:url(smallGradCap.png) inside square;
}
#list2 {
    list-style: outside upper-roman;
}
</style>
<ol id="list1">
  <li>list item</li>
  <li>list item</li>
  <li>list item</li>
</ol>
<ol id="list2">
  <li>list item</li>
  <li>list item</li>
  <li>list item</li>
</ol>
 
  1. list item
  2. list item
  3. list item
  1. list item
  2. list item
  3. list item

Possible Values:

See the following individual properties for values:
list-style-image
list-style-position
list-style-type

0 Response to "list-style"

Post a Comment