Jump to content

css drop down menu help


aquanuke

Recommended Posts

Hi I have some code to do a drop down menu. The example I have shows 6 headings with the first one also with the drop down portion. I want to also have the other 5 headings with drop down, but dont know what the other 5 should be set as.

 

This is the example I have...

 

                        <div class="nav-container">
    <ul id="nav">
        <li class="level0 nav-1 level-top first parent">
<a href="viewsearch.php?query=Computer" class="level-top">
<span>Computers</span>
</a>
<ul class="level0">
<li class="level1 nav-1-1 first">
<a href="viewsearch.php?query=desktop">
<span>desktops</span>
</a>
</li><li class="level1 nav-1-2">
<a href="viewsearch.php?query=Laptop">
<span>Laptops & Notebooks</span>
</a>
</li><li class="level1 nav-1-3 last">
<a href="viewsearch.php?query=Netbook">
<span>Netbook</span>
</a>
</li>
</ul>
</li><li class="level0 nav-2 level-top">
<a href="viewsearch.php?query=office" class="level-top">
<span>office</span>
</a>
</li><li class="level0 nav-3 level-top">
<a href="viewsearch.php?query=plasma+television" class="level-top">
<span>tv`s</span>
</a>
</li><li class="level0 nav-4 level-top">
<a href="viewsearch.php?query=audio+player" class="level-top">
<span>sound device</span>
</a>
</li><li class="level0 nav-5 level-top">
<a href="viewsearch.php?query=home+theater" class="level-top">
<span>home theater systems</span>
</a>
</li><li class="level0 nav-6 level-top last">
<a href="viewsearch.php?query=Accessories" class="level-top">
<span>Accessories</span>
</a>
</li>    </ul>
</div>

Link to comment
https://forums.phpfreaks.com/topic/238048-css-drop-down-menu-help/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.