I am currently building my own website locally on my computer and have issues with CSS, specifically with designing the topmenu. I want to attach to each item of the topmenu 2 images, one default one and one that shows up via a mouseover-effect. But here is the thing, I also want to add to each menu item a submenu and I don't want the mouseover-effect-picture to vanish if I point the mouse cursor to the submenu. So basically I want the mouseover-effect to still be enabled while the mouse cursor points at the submenu. But I don't know how this could be done.
Here is my current CSS code regarding the image mapping of the first item of the topmenu:
Thank you
Here is my current CSS code regarding the image mapping of the first item of the topmenu:
Code:
#topmenu ul.menu .item-444 a {
background: url('../images/image1.png') 0 0 no-repeat;
background-position: center;
}
#topmenu ul.menu .item-444 a:hover {
background: url('../images/image2.png') 0 0 no-repeat;
background-position: center;
}
Thank you