I am trying to customize a menu with a submenu that contains ul. My question is how to remove the background image of a submenu that is inherited from the ul menu. I appreciate any help. Many thanks!
my html
<ul id="menuBar"> <li id="test1">test1</li> <li id="test2"><a href="#">Pro1</a> <div class="subMenu"> <ul> <li><a href="#">sub1</a></li> //all li a would get the same //backgroundimage btForTest2.jpg // butI just want a clean background <li><a href="#">sub2</a></li> <li><a href="#">sub3</a></li> </ul> <ul> <li><a href="#">Volleyball</a></li> <li><a href="#">Walking</a></li> <li><a href="#">Water Shoes</a></li> </ul> </div> </li> </ul>
CSS
#menuBar
source share