I'e using a nested list to give a Main Menu with a submenu but for some reason the submenu is heriting the style of the hover colour of the main manu even though I've defined a new style. Is there any way round this?
Code:
.mainmenu{ background-color:#771dd4; } .mainmenu li{ background-color:#771dd4; } .mainmenu li a{ color:#ffffff; } .mainmenu li:hover a{ background-color: #3446c5; } .mainmenu ul ul{ background-color: #6624f0; background-image: none; } .mainmenu li li{ background-color: #6624f0; background-image:none; } .mainmenu li li:hover a{ background-color: #3446c5; background-image: none; }
Comment