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

Related Posts :

  • counter-increment counter-increment CSS counter-increment Property The CSS counter-increment prope… Read More...
  • content content CSS content Property The CSS content property is used to generate conten… Read More...
  • clip clip CSS clip Property The CSS clip property is used to clip regions of an eleme… Read More...
  • cue cue CSS cue Property The CSS cue-after , cue-before and cue … Read More...
  • counter-reset counter-reset CSS counter-reset Property The CSS counter-reset property is used … Read More...

0 Response to "list-style"

Post a Comment