hm, I is upper-roman ... is there no way to get greek?On 2-3-2012 11:39, luigi scarso wrote:
Errata
itemgroup[symbol="5"] { list-style-type : circ ; }
itemgroup[symbol="A"] { list-style-type : alpha ; }
itemgroup[symbol="G"] { list-style-type : upper-greek ; }
Corrige
itemgroup[symbol="5"] { list-style-type : circle ; }
itemgroup[symbol="A"] { list-style-type : upper-alpha ; }
itemgroup[symbol="G"] { list-style-type : upper-roman ; }
Note
upper-greek doesn't exist
Hans
Value: | disc | circle | square | decimal | decimal-leading-zero | lower-roman | upper-roman | lower-greek | lower-latin | upper-latin | armenian | georgian | lower-alpha | upper-alpha | none | inherit |
Initial: | disc |
Applies to: | elements with 'display: list-item' |
Inherited: | yes |
Percentages: | N/A |
Media: | visual |
Computed value: | as specified |
This property specifies appearance of the list item marker if 'list-style-image' has the value 'none' or if the image pointed to by the URI cannot be displayed. The value 'none' specifies no marker, otherwise there are three types of marker: glyphs, numbering systems, and alphabetic systems.
Glyphs are specified with disc, circle, and square. Their exact rendering depends on the user agent.
Numbering systems are specified with:
Alphabetic systems are specified with:
This specification does not define how alphabetic systems wrap at the end of the alphabet. For instance, after 26 list items, 'lower-latin' rendering is undefined. Therefore, for long lists, we recommend that authors specify true numbers.
CSS 2.1 does not define how the list numbering is reset and incremented. This is expected to be defined in the CSS List Module [CSS3LIST].
For example, the following HTML document:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"> <HTML> <HEAD> <TITLE>Lowercase latin numbering</TITLE> <STYLE type="text/css"> ol { list-style-type: lower-roman } </STYLE> </HEAD> <BODY> <OL> <LI> This is the first item. <LI> This is the second item. <LI> This is the third item. </OL> </BODY> </HTML>
might produce something like this:
i This is the first item. ii This is the second item. iii This is the third item.
The list marker alignment (here, right justified) depends on the user agent.
Value: | <uri> | none | inherit |
Initial: | none |
Applies to: | elements with 'display: list-item' |
Inherited: | yes |
Percentages: | N/A |
Media: | visual |
Computed value: | absolute URI or 'none' |
This property sets the image that will be used as the list item marker. When the image is available, it will replace the marker set with the 'list-style-type' marker.
The size of the image is calculated from the following rules:
The following example sets the marker at the beginning of each list item to be the image "ellipse.png".
ul { list-style-image: url("http://png.com/ellipse.png") }