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.
list-style-image
list-style-position
list-style-type
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>
#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>
- list item
- list item
- list item
- list item
- list item
- 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