pandaa said:A quick Google search found this awesome tutorial. There are tons of ways to do it, but here is one.
http://www.noupe.com/tutorial/drop-down ... y-css.html
<ul class="topnav">
<li>
<a href="#"><span>Tutorials</span></a>
<ul class="subnav">
<li><a href="#"><span>Sub Nav Link</span></a></li>
<li><a href="#"><span>Sub Nav Link</span></a></li>
</ul>
</li>
</ul>
/*dropdown menu*/
ul.topnav li {
position: relative; /*--Declare X and Y axis base for sub navigation--*/
ul.topnav li span { /*--Drop down trigger styles--*/
width: 17px;
height: 35px;
float: left;
}
ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/
ul.topnav li ul.subnav {
list-style: none;
position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
left: 0; top: 35px;
}
Dennis said:Ah thanks, can I put the java in the overall_header template?.
</head>
Since 2007, Forum Promotion has specialized in providing advertising solutions to webmasters looking to promote their communities. We pride ourselves in being the bridge that connects forum administrators, bloggers, and more.
We use essential cookies to make this site work, and optional cookies to enhance your experience.