I am making a custom ol>li to look like this
1 | List content
2 | List content
3 | List content
I have referenced this post: HTML + CSS: Ordered List without the Period?
But, I cannot get the numbers to appear, and they need to appear without periods while following standard numeric count.
here is my code:
#content ol > li:before{
content: counter(customlistcounter) " |";
counter-increment: customlistcounter;
margin-left: -21px;
float: left;
width: 1em;
}
#content ol li{
padding-left: 21px;