CSS LIST-STYLE - CSS3 Examples

CSS LIST-STYLE

Written by jon on 8:42 AM
This shorthand property is used when the author wishes to change the default display characteristics of list-markers in HTML list structures. An author can specify location of the marker, a graphic to be used and/or a standard set of symbols. Keywords may come in any order, but using multiple keywords that control the same behavior is not allowed. If a [list-style-image] is specified for the list marker, it will be used in place of any [list-style-type] also specified. Nevertheless, a [list-style-type] should always be specified in the event the [list-style-image] can not be loaded. A value of ‘none’ for the ‘list-style’ property should set both ‘list-style-type’ and ‘list-style-image’ to ‘none.’
Example
ul { list-style: square inside url( http://www.foo.com/bullet.gif ) }

<ul><li style=”list-style: square inside url(>content</li></ul>

Possible Values
Value Description
inherit Explicitly sets the value of this property to that of the parent
[list-style-type] See the property page for ‘list-style-type' for more details on syntax and allowed values
[list-style-position] See the property page for ‘list-style-position' for more details on syntax and allowed values
[list-style-image] See the property page for ‘list-style-image' for allowed values



Related Posts by Categories



Widget by John | Interviewghost
  1. 0 comments: Responses to “ CSS LIST-STYLE ”

RECENT COMMENTS

SUBSCRIBE TO CSS3 EXAMPLES

 Subscribe to css3 Examples via RSS
Or, subscribe via email:
Find CSS3 Examples Entries :