hi!
Thanks for the reply.
the code works perfect but that's not exactly what I need.
As for now, I use this to show my latest 10 posts:
<?php wp_get_archives('title_li=&type=postbypost&limit=10'); ?>
this code automatically generate something like this:
<ul id="blahblah">
<li><a href="">post three from "A" category</a></li>
<li><a href="">post two from "B" category</a></li>
<li><a href="">post one from "A" category</a></li>
</ul>
And what I wanna do is:
<ul id="blahblah">
<li class="post_from_a_category"><a href="">post three from "A" category</a>
<li class="post_from_b_category"><a href="">post two from "B" category</a>
<li class="post_from_a_category"><a href="">post one from "A" category</a>
</ul>
so posts from "A" category will have its own class name - while posts from "B" category also have its own class name (so I can style 'em)
can you please help me with this?