I am trying to make a simple horizontal list Menu showed in this <a href="http://energycell.co.uk/about.html" rel="nofollow">example</a>, So far i have copied List & CSS to <a href="http://jsfiddle.net/7uWyf/" rel="nofollow">jsFiddle</a> ( <a href="http://jsfiddle.net/sxDbu/14/" rel="nofollow">New Example Update</a>)but it doesn't seem to work how i make it work in a similar fashion. I am not able to find similar example which i can look into & replicate.
I would appreciate help in this regard.
CSS
<strong>UPDATE:</strong>
I am able to make it work as horizontal menu, but i am not able fade out the submenu after some time how can i do that <a href="http://jsfiddle.net/sxDbu/14/" rel="nofollow">Example Update</a>
I would appreciate help in this regard.
Code:
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="services.html">Services</a>
<ul>
<li><a href="graphic-design.html">Graphic Design</a></li>
<li><a href="web-design.html">Web Design</a></li>
<li><a href="multimedia.html">Multimedia</a></li>
<li><a href="exhibitions.html">Exhibitions</a></li>
<li><a href="trademarketing.html">Trade Marketing</a></li>
</ul>
</li>
<li><a href="work.html">Work</a></li>
<li><a href="clients.html">Clients</a></li>
<li><a href="wordpress">Blog</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
CSS
Code:
nav#mainnav ul {
bottom: 57px;
height: 0;
list-style: none outside none;
margin: 0;
padding: 0;
position: absolute;
right: 0;
}
nav ul {
list-style: none outside none;
}
ol, ul {
color: #242320;
font-size: 0.8em;
font-weight: bold;
line-height: 1.3em;
margin: 10px 40px;
}
ul {
margin-left: 30px;
}
<strong>UPDATE:</strong>
I am able to make it work as horizontal menu, but i am not able fade out the submenu after some time how can i do that <a href="http://jsfiddle.net/sxDbu/14/" rel="nofollow">Example Update</a>