Is there a way to add a dropdown menu to my navigation bar and make it visible when hovered over? Any help or support would be greatly appreciated.
Here is the code I have on JSFiddle: http://jsfiddle.net/nbh2e15y/2/
The CSS:
#nav {
background: none repeat scroll 0 0 #585858;
border-radius: 3px;
height: 50px;
margin-bottom: 10px;
padding: 0;
}
#searchbar input[type=text] {
background: none repeat scroll 0 0 #fff;
border: 1px solid black;
height: 25px;
padding: 1px 1px 1px 5px;
width: 230px;
}
/* Other CSS properties here */
And here is the HTML code:
<div id="nav">
<ul>
<li><a href="index.php">Home</a></li>
<li><a href="categories.php">Categories</a>
<ul>
<li><a href="#">Photoshop</a></li>
<li><a href="#">Illustrator</a></li>
<li><a href="#">Web Design</a></li>
</ul>
</li>
/* More list items here */
</ul>
</div>