I have made a dropdown menu with following code:
….
<TABLE BORDER=”0″>
<TD VALIGN=”top” Width=”160″>
<SPAN onMouseOver=”document.all.menu1.style.display =’block'”onMouseOut=”document.all.menu1.style.display = ‘block'”>
<img src=”
</SPAN>
<SPAN ID=”menu1″ onClick=”document.all.menu1.style.display = ‘none'”>
<A HREF=”link”>name</A><BR>
<A HREF=”link”>name</A><BR>
<A HREF=”link”>name</A><BR>
<A HREF=”link”>name</A><BR>
<A HREF=”link”>name</A>
</SPAN>
</TD>
</TABLE>
….
and my css for it is:
#menu1 { display : none }
#menu2 { display : none }
#menu3 { display : none }
A:link {color:black; text-decoration:none}
A:hover {color:blue; text-decoration:underline}
nav a {padding: 20px;}
but the mouse doesnt disappear when I move away from the menu.
Someone that can help?