View Single Post
  #9 (permalink)  
Old Dec 6th, 2007, 14:19
pesho318i pesho318i is offline
Junior Member
Join Date: Oct 2007
Location: Holland
Posts: 49
Thanks: 0
Thanked 0 Times in 0 Posts
Re: unordered list - strange behavior

uups, I have one more question:

I'd like to add a number on the right of every <li>

Something like:

Code: Select all
 My UL
   * li_1                3
   * blqblq_2           24
   * blqblqblq         318
to my css I add:
Code: Select all
 .myClass ul.categorylist li span.cat-number{
    float: right;
}
my HTML becomes:
Code: Select all
<div class="myClass">
    <ul class="categorylist">
              <li>li_1</li><span class="cat-number">3</span>
              <li>blqblq_2</li><span class="cat-number">24</span>
    </ul>
</div>
Reply With Quote