special-case mod of ordered-list type
-
I wish to specify alternate type on my ordered lists in limited special instances. My efforts work when used directly in chrome but fail when I attempt to use on my wordpress site.
I attempt this html:
<ol type="A"> <li>item</li> <li>item</li> <li>item</li> </ol>
WordPress renders it with numbers. My WordPress theme’s style.css came with an entry for ordered lists that sets the list-style to none:
ol, ul { list-style: none; }
Without modifying that bit of css, I have attempted to create what I believe should be a class specific version of the css.
ol.aa { list-style-type: uppercase-alph; }
and set my list’s class to match:
<ol type="A" class="aa"> <li>item</li> <li>item</li> <li>item</li> </ol>
How do I special-case alter the type of my ordered-list, preferably, with as little style.css modifications as possible?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘special-case mod of ordered-list type’ is closed to new replies.