22.12.2013 Views

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

W3C CSS2 Cascading Style Sheets, level 2 - instructional media + ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<br />

This is the first item.<br />

This is the second item.<br />

This is the third item.<br />

<br />

<br />

<br />

might produce something like this:<br />

i This is the first item.<br />

ii This is the second item.<br />

iii This is the third item.<br />

Note that the list marker alignment (here, right justified) depends on the user<br />

agent.<br />

Note. Future versions of CSS may provide more complete mechanisms for<br />

international numbering styles.<br />

’list-style-image’<br />

Value: | none | inherit<br />

Initial: none<br />

Applies to: elements with ’display: list-item’<br />

Inherited: yes<br />

Percentages: N/A<br />

Media: visual<br />

This property sets the image that will be used as the list item marker. When the<br />

image is available, it will replace the marker set with the ’list-style-type’ marker.<br />

Example(s):<br />

The following example sets the marker at the beginning of each list item to be<br />

the image "ellipse.png".<br />

UL { list-style-image: url("http://png.com/ellipse.png") }<br />

’list-style-position’<br />

Value: inside | outside | inherit<br />

Initial: outside<br />

Applies to: elements with ’display: list-item’<br />

Inherited: yes<br />

Percentages: N/A<br />

Media: visual<br />

This property specifies the position of the marker box in the principal block box.<br />

Values have the following meanings:<br />

outside<br />

The marker box is outside the principal block box. Note. CSS1 did not<br />

specify the precise location of the marker box and for reasons of compatibility,<br />

<strong>CSS2</strong> remains equally ambiguous. For more precise control of marker<br />

boxes, please use markers.<br />

170

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!