I am trying to get an ordered list first item shouldn\'t start with number. The number should start from second item.
please check this URL what I am trying to achie
just change last css rule into
ol li:before {content: ""; color: green; display: inline-block; width: ... ; }
ol li + li:before {content: counter(chapter) "."; }
in this way you insert the content starting from second li
element (I used li + li
so it can work also with IE8
)
see fiddle: http://jsfiddle.net/WwNqN/
Try to add this rule:
ol li:nth-of-type(1):before{content: "";}
This will remove the zero at the first element.