Home » Web development » HTML5 » How to create drop down submenu on mouse over

Here is code for creating drop down submenu on mouse over hope it will help new web designer and web developer

<ul id="subjectsNav">
<li><a href="#" title="SUBJECTS">SUBJECTS</a>

    <ul>
        <li><a href="#" title="Maths">Maths</a>
        </li>
        <li><a href="#" title="English">English</a>
        </li>
        <li><a href="#" title="Spanish">Spanidsh</a>
        </li>
        <li><a href="#" title="History">History</a>
        </li>
        <li><a href="#" title="Science">Science</a>
        </li>
        <li><a href="#" title="EXTRA">EXTRA</a>
            <ul>
                <li><a href="#" title="Arts">Arts</a>
                </li>
                <li><a href="#" title="Sports">Sports</a>
                </li>
                <li><a href="#" title="Community">Community</a>
                </li>
            </ul>
        </li>
        <li><a href="#" title="Marks">Marks</a>
        </li>
    </ul>
</li>
</ul>
/* Main */
#subjectsNav {
 list-style: none;
}
#subjectsNav li {
 width: 70px;
 display: block;
 float: left;
 position: relative;
}
#subjectsNav li:hover > ul {
 display: block;
}
/* Sub-menu */
 #subjectsNav ul {
 list-style: none;
 left: 0;
 margin: 0;
 padding: 0;
 display: none;
 position: absolute;
 z-index: 99999;
}
#subjectsNav ul li {
 float: none;
 display: block;
}
#subjectsNav ul ul {
 top: 0;
 left: 70px;
}

Wordpress Freelancer, Joomla Freelancer Web designer Mumbai india, Wordpress web developer India, Joomla Web developer india, Outsourcing web project india mumbai

By Santosh Kori Published: October 10, 2012 Professional Freelance Website developer 5 stars based on 65 reviews Total time: 24 hour 00 min Wordpress Joomla XHTML CSS jQuery HTML5 eCommerce CSS3 ☞ Offers low cost freelance web designing, asp php asp.net web development services from Mumbai India. Freelance web designer & developer Mumbai India.

I AM NOT AVAILABLE FOR WEB DESIGN & DEVELOPMENT PROJECTS