CSS Cascading Style Sheet: CSS Lists
ListsCSS Selectors can provide the Author extended control over how their Lists are formatted. Properties can be applied to the markers that appear before the list items to provide order to the information. In addition to the regular list styles that are available in HTML the author can also define their own marker item by using an image. Other proposed CSS declaration values would control how the list item markers are applied and indented in relation to the line items.
<STYLE> list-style-imageWhen you would like to us an image to represent the bullet of your list items you can use the URL value you can also define a list-style-type to be used if the enduser has disabled the loading of images.Works only with IE4 The following example sets the marker at the beginning of each list item to be the image "icon.jpg". <style> list-style-positionCSS2 has also defined a selector declaration that would allow you to position the List marker either away from the Line Item or it could have the value compact that would make the Marker move to the position of the first character in the Line Item.This is not implemented in either IE4 or NS4 Possible values include: inside, outside <style> |