Hallo zusammen,
ich will das Hintergrundbild eines DIV bei onmouseover ändern. Irgendwie funzt das nur beim Firefox aber leider beim IE nicht. Hat vielleicht jemand eine Lösung? Wäre super ... danke schon mal!
html-code
css
ich will das Hintergrundbild eines DIV bei onmouseover ändern. Irgendwie funzt das nur beim Firefox aber leider beim IE nicht. Hat vielleicht jemand eine Lösung? Wäre super ... danke schon mal!
html-code
HTML:
<div id="MainMenu_1"><a href="#" class="mainMenu">Home</a></div>
css
HTML:
a.mainMenu {
font-size: 12px;
color: #FFFFFF;
text-decoration: none;
font-style: normal;
}
a.mainMenu:hover {
font-size: 12px;
color: #4B3F2F;
text-decoration: none;
font-style: normal;
}
#MainMenu_1{
background-image: url(img/mainmenu_n.gif);
}
#MainMenu_1:hover {
background-image: url(img/mainmenu_o.gif);
}