For the "ul a" rule, you put the background: property after the background-image: property. background: resets everything that is not explicitly described in it to default (null in this case). When you use background: in a rule, put everything background-related in that rule.
Also, giving a bit of left margin to subcats will align them correctly.
Code:
#categories ul {/*top category lists*/
list-style: none;
background: none;
/*border: 2px solid #F00;*/
margin: 0 0 0.4em 0;
padding: 0;
}
#categories ul a {/*top categories*/
display: list-item;
list-style: disc inside url(../images/bullet_01.gif);/*change to list-style: none; to remove bullet*/
background: #FF0000 url(../images/category_bg_01.jpg) no-repeat; /*aggiunta mia*/
height: 24px;
border: none;
margin: 0;
padding: 5px 0 0 0;
}
#categories ul ul {/*subcategory lists*/
list-style: none;
background: none;
border: none;
margin: -4px 0 9px 0;
padding: 0 0 0 10px;
/*border: 2px solid #0FF;*/
}
#categories ul ul a {/*subcategories*/
display: list-item;
list-style: circle inside url(../images/bullet_01.gif);/*change to list-style: none; to remove bullet*/
background: #00FF00 no-repeat url(../images/category_bg_02.jpg); /*aggiunta mia*/
border: none;
margin: 0 0 0 9px;
padding: 0;
}
#categories ul ul ul {/*subcategory lists*/
list-style: none;
background: none;
border: none;
margin: -4px 0 0 0;
padding: 0 0 0 10px;
/*border: 2px solid #000;*/
}
#categories ul ul ul a {/*sub-subcategories*/
display: list-item;
list-style: circle inside url(../images/bullet_01.gif);/*change to list-style: none; to remove bullet*/
background: #0000FF no-repeat url(../images/category_bg_03.jpg); /*aggiunta mia*/
border: none;
margin: 0 0 0 18px;
padding: 0;
}
You can address the link backgrounds here (uncomment the rule):
Code:
/*different bullet for links if desired*/
#categories li a.category-links {
list-style: none;
background: none;
}