sikas sikas - 1 year ago 116
HTML Question

Custom ordered list format

I tried to use ordered list

and each list item
outputs as 1. 2. 3. ... etc, I want the output to be 1) 2) 3) ... etc, can this be done?

Answer Source

You can, but only with the more up-to-date browsers (Chrome, Safari, Firefox and Opera will work):

ol {
  counter-reset: listCounter;
ol li {
  counter-increment: listCounter;
ol li:before {
  content: counter(listCounter) ")";
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download