If what you are looking for is intuitive menu, you need not look any further. I’ll tell you how you can make a gorgeous menu for your menu bar. I’m referring to this type of menu called Inverted Shift Down Menu.
This type of menu is one exciting piece of work as a button get activated when the mouse hovers over any of it. The button turns bright red which means that the active button and the sky blue ones are the inactive buttons.
Without further ado, here are the CSS and HTML so you can start working.

Figure 1. Inverted Shift Down Menu
The CSS Code
<style type=”text/css”>
.invertedshiftdown2{
padding: 0;
width: 100%;
border-top: 5px solid #D10000; /*Highlight red color theme*/
background: transparent;
voice-family: “\”}\”";
voice-family: inherit;
}
.invertedshiftdown2 ul{
margin:0;
margin-left: 40px; /*margin between first menu item and left browser edge*/
padding: 0;
list-style: none;
}
.invertedshiftdown2 li{
display: inline;
margin: 0 2px 0 0;
padding: 0;
text-transform:uppercase;
}
.invertedshiftdown2 a{
float: left;
display: block;
font: bold 12px Arial;
color: black;
text-decoration: none;
margin: 0 1px 0 0; /*Margin between each menu item*/
padding: 5px 10px 5px 10px; /*Padding within each menu item*/
background-color: lightblue; /*Default menu color*/
border-bottom: 8px solid white;
}
.invertedshiftdown2 a:hover{
background-color: #D10000; /*Highlight red color theme*/
padding-top: 10px; /*Set padding-top value to default’s padding-top + padding-bottom */
padding-bottom: 0; /*Set padding-bottom value to 0 */
border-bottom-color: #D10000; /*Highlight red color theme*/
color: white;
}
.invertedshiftdown2 .current a{ /** currently selected menu item **/
background-color: #D10000; /*Highlight red color theme*/
padding-top: 10px; /*Set padding-top value to default’s padding-top + padding-bottom */
padding-bottom: 0; /*Set padding-bottom value to 0 */
border-bottom-color: #D10000; /*Highlight red color theme*/
color: white;
}
#myform{ /*CSS for sample search box. Remove if desired */
float: right;
margin: 0;
margin-top: 2px;
padding: 0;
}
#myform .textinput{
width: 190px;
border: 1px solid gray;
}
#myform .submit{
font: normal 12px Verdana;
height: 22px;
border: 1px solid #D10000;
background-color: black;
color: white;
}
</style>
The HTML Code
<div class=”invertedshiftdown2″>
<ul>
<li><a href=”http://www.dynamicdrive.com” title=”Home”>Home</a></li>
<li><a href=”http://www.dynamicdrive.com/new.htm” title=”New”>New</a></li>
<li class=”current”><a href=”http://www.dynamicdrive.com/revised.htm” title=”Revised”>Revised</a></li>
<li><a href=”http://tools.dynamicdrive.com” title=”Tools”>Tools</a></li>
<li><a href=”http://www.dynamicdrive.com/style/” title=”CSS”>CSS</a></li>
<li><a href=”http://www.dynamicdrive.com/forums/” title=”DHTML Forums”>Forums</a></li>
</ul>
<form id=”myform”>
<input type=”text” class=”textinput” /><input class=”submit” type=”submit” value=”Find” />
</form>
</div>
<br style=”clear: both;” />
Isn’t this a beauty? Share it to your friends and they’ll tell you that you are simply the best guy or gal ever!
Tags: Inverted Shift Down Menu



english
español
Deutsch
français
Italiano
Português
русский










Leave a reply