| 
	
 | 
 Posted by Bubu on 11/21/06 17:02 
> Yes? Your problem with that is exactly what? Apart from the issue of  
> inventing better class names, maybe. 
>  
> You can even do things without  class attributes for <li> elements if  
> you are willing to accept the situation that old browsers like IE 6  
> won't apply all of your styles. You can say, for example, 
> .ulclass li:first-child+ li + li { font-weight: bold; } 
> to make the third item in the list bolded. 
>  
 
My problem is in the third li, in other words my class use a background  
image (for ul and for li) 
For the third li I need to use a different background image, but when I  
apply the class to the third li and open in firefox, I see the third  
element with my third class surrounded by the ul class. 
 
Bubu
 
[Back to original message] 
 |