[wp-hackers] The lists within the posts...

spencerp theone.andonly.mr.awesome at gmail.com
Thu May 22 01:35:22 GMT 2008


Alan J Castonguay wrote:
> OL { list-style-type: lower-alpha; }

Thanks! Wow, that was simple... LOL! Just wondering though, wouldn't 
that be like such in the css file then right:

.entry-content ol li {list-style-type:none;}
.entry-content ol ol li { list-style-type: lower-alpha; }

If you want the main numbered ordered list to be normal number output as 
such:

<ol>
<li> stuff here </li>
<li> stuff here </li>
<li> stuff here </li>
<ol>
<li> stuff here under last li above </li>
<li> stuff here under last li above </li>
<li> stuff here under last li above </li>
</ol>
</ol>

Output:
 1. stuff here
 2. stuff here
 3. stuff here
   a. stuff here under last li above
   b. stuff here under last li above
   c. stuff here under last li above

Sorry, I'm not a total CSS professional yet... so.. bare with me here LOL!


More information about the wp-hackers mailing list