I'm just about finished with my navigation panel.
Any tips on how to add a sub-menu? I currently have one in the Product page.
Below is the HTML code containing the sub-menus:
<nav>
<ul>
<li><a href="">HOME</a></li>
<li><a href="">PRODUCTS</a>
<ul>
<li><a href="">T-SHIRTS</a></li>
<li><a href="">MUGS</a></li>
<li><a href="">CUPS</a></li>
<li><a href="">JEANS</a></li>
</ul>
</li>
<li><a href="">SERVICES</a></li>
<li><a href="">GALLERY</a></li>
<li><a href="">ABOUT US</a></li>
<li><a href="">CONTACT US</a></li>
</ul>
</nav>
This is the CSS Stylesheet used:
nav{
width:1000px;
height:50px;
background-color:#333;
margin: 0 auto;
padding: 20px 20px 20px 20px;
font-family: NeoSans;
text-align: center;
overflow: hidden;
}
nav ul{
list-style: none;
}
nav ul ul{
display: none;
}
nav ul li{
display: inline;
float: left;
}
nav ul li a{
color: #CCC;
text-decoration: none;
padding: 40px 41px 40px 41px;
}
nav ul li a:hover{
color: #F60;
background-color: #000;
}
Thanks to everyone for the help!
Let's keep going strong!