I’ve been trying this trick for the longest time, and can’t for the life of me get it to work! π‘
Here’s my scource, tell me if you find anything wrong.
<html><heaD>
<title>Drop down menu?</title>
<style type=”text/CSS”>
a { text-decoration: none; }
ul.menu, ul.menu, ul {
width: 60px;
border: 2.5px double blue;
background-color: black;
margin-left: 5px;
}
ul.menu li {
list-style-type: none;
margin: 0;
position: relative;
color: red;
}
ul.menu li > ul {
display: none;
position: absolute;
top: 3px;
left: 50px;
}
ul.menu ul.CSStoShow {
display: none;
}
ul.menu li:hover > ul {
display: block;
}
ul.menu li a { color: red; display: block; width: 100% text-decoration: none; }
ul.menu li a:hover, ul.menu li a.CSStoHighLink { color: blue; }
ul.menu li:hover > a {color: blue; }
</style></head><body>
<ul class=”menu”>
<li>Menu</li>
<ul>
<li><a href=”http://Google.com”>Sub</a></li>
<li>Menu</li>
<li>Here</li>
</ul>
</ul></li>
Help me if you can.