Hello,
I need to add two items into a sub-menu in my horizontal navigation menu.
Currently code:
I tried:
and
The first ul code set does nothing. The second wrapped with li moves the Workshops button down vertically to the rest of the buttons and the sub-menu shows at the top of the page horizontally.
I'll keep working on this but if anyone can help I'd appreciate it.
Thanks!
I need to add two items into a sub-menu in my horizontal navigation menu.
Currently code:
Code:
<div id="navbar">
<a href="index.html>Home</a>
<a href="mail.html>Email</a>
<a href="workshops.html">Workshops</a>
</div> <!-- end navbar -->
I tried:
Code:
<div id="navbar">
<a href="index.html>Home</a>
<a href="mail.html>Email</a>
<a href="#">Workshops</a>
<ul class="sub-level">
<li><a href="games.html">Games</a></li>
<li><a href="theory.html">Theory</a></li>
</ul>
</div> <!-- end navbar __>
and
Code:
<div id="navbar">
<a href="index.html>Home</a>
<a href="mail.html>Email</a>
<a href="#">Workshops</a>
<li><ul class="sub-level">
<li><a href="games.html">Games</a></li>
<li><a href="theory.html">Theory</a></li>
</ul>
</li>
</div> <!-- end navbar __>
The first ul code set does nothing. The second wrapped with li moves the Workshops button down vertically to the rest of the buttons and the sub-menu shows at the top of the page horizontally.
I'll keep working on this but if anyone can help I'd appreciate it.
Thanks!