Merci pour la réponse.
Voici mon menu:
<ul id="menu" class="MenuBarHorizontal">
<li><a href="#"><img id="bouton1" style="border:none" onMouseOver="Over(0,this.id)" onMouseOut="Out(this.id)"/></a></li>
<li><a href="#" class="MenuBarItemSubmenu"><img id="bouton2" style="border:none" onMouseOver="Over(1,this.id)" onMouseOut="Out(this.id)"/></a>
<ul>
<li><a href="#"><img id="bouton3" style="border:none" onMouseOver="Over(2,this.id)" onMouseOut="Out(this.id)"/></a></li>
<li><a href="#"><img id="bouton4" style="border:none" onMouseOver="Over(3,this.id)" onMouseOut="Out(this.id)"/></a></li>
<li><a href="#"><img id="bouton5" style="border:none" onMouseOver="Over(4,this.id)" onMouseOut="Out(this.id)"/></a></li>
<li><a href="#"><img id="bouton6" style="border:none" onMouseOver="Over(5,this.id)" onMouseOut="Out(this.id)"/></a></li>
</ul>
</li>
<li><a href="#"><img id="bouton7" style="border:none" onMouseOver="Over(6,this.id)" onMouseOut="Out(this.id)"/></a></li>
<li><a href="#"><img id="bouton8" style="border:none" onMouseOver="Over(7,this.id)" onMouseOut="Out(this.id)"/></a></li>
<li><a href="#"><img id="bouton9" src="images/creation-site-boutons/devis.jpg" style="border:none" onMouseOver="Over(8,this.id)" onMouseOut="Out(this.id)"/></a> </li>
<li><a href="#"><img id="bouton10" style="border:none" onMouseOver="Over(9,this.id)" onMouseOut="Out(this.id)"/></a></li>
</ul>
Mon CSS:
ul.MenuBarHorizontal
{
margin: 0 8.5px;
list-style-type: none;
font-size: 100%;
cursor: default;
width: auto;
}
ul.MenuBarActive
{
z-index: 1000;
}
ul.MenuBarHorizontal li
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
position: relative;
text-align: left;
cursor: pointer;
float: left;
}
ul.MenuBarHorizontal ul
{
margin: 0;
padding: 0;
list-style-type: none;
font-size: 100%;
z-index: 1020;
cursor: default;
width: 8.2em;
position: absolute;
left: -1000em;
}
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
{
left: auto;
text-decoration: none;
}
ul.MenuBarHorizontal ul li
{
width: 8.2em;
}
ul.MenuBarHorizontal ul ul
{
position: absolute;
margin: -5% 0 0 95%;
}
ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
{
left: auto;
top: 0;
}
ul.MenuBarHorizontal a
{
display: block;
cursor: pointer;
text-decoration: none;
}