CSS Library: Horizontal CSS Menus: Here
Vista Aero Buttons Menu
Author: Dynamic Drive
This menu consists of a row of independent, Vista aero looking CSS buttons, and departs from the typical list based menu structure. Each button appears initially faded out slightly via CSS opacity, then brought back to full opacity during the "hover" state. The caveat for this menu is the fixed height of each button based on the graphic interface, hence isn't ideal if the buttons' font size is changed from the default.
Demo:
The two images used:
(black theme)
The CSS:
Got a question or need help customizing this CSS code? Post it in the CSS Forums. If you have a comment or suggestion instead, post it in the comments section below.
Comment Pages 6 of 7 pages « First < 4 5 6 7 >
I just happened to come to this site and I am not that familiar with CSS. Any suggestions. I really do think it would look cool if i knew how to customize it and all that stuff. Any help?
By the way, I am trying to use Freewebs.com (Now known as Webs.com) to make my little own site but i cant seem to figure it out, help is appreciated!
<h4>Aero Blue and Black Button Menus:</h4>
<div class="aerobuttonmenu">
<div class="rightsection">
http://i31.tinypic.com/33mpnon.png
</div>
<span>Home</span>
<span>CSS Examples</span>
<span>Forums</span>
<span>Webmaster Tools</span>
<a href="http://www.javascriptkit.com" class="aero"><span>Javascript</span></a>
<span>Gallery</span>
</div>
<div class="aerobuttonmenu black">
<div class="rightsection">
http://i31.tinypic.com/33mpnon.png
</div>
<span>Home</span>
<span>CSS Examples</span>
<span>Forums</span>
<span>Webmaster Tools</span>
<a href="http://www.javascriptkit.com" class="aero"><span>Javascript</span></a>
<span>Gallery</span>
</div>
<div class="aerobuttonmenu">
<div class="rightsection">
http://i31.tinypic.com/33mpnon.png
</div>
<span>Home</span>
<span>CSS Examples</span>
<span>Forums</span>
<span>Webmaster Tools</span>
<a href="http://www.javascriptkit.com" class="aero"><span>Javascript</span></a>
<span>Gallery</span>
</div>
<div class="aerobuttonmenu black">
<div class="rightsection">
http://i31.tinypic.com/33mpnon.png
</div>
<span>Home</span>
<span>CSS Examples</span>
<span>Forums</span>
<span>Webmaster Tools</span>
<a href="http://www.javascriptkit.com" class="aero"><span>Javascript</span></a>
<span>Gallery</span>
</div>
i've got the same problem, and i found the solution here to fix blue screen of death, just for reference.
Very cool looking navigation bar which I am trying to implement on my site. I saw this same comment earlier but I haven't been able to find an answer - how do I center the entire nav bar - not just the text inside each button? text-align: center does not seem to have any effect???
Thanks,
David
Thanks,
David
to center menu remove in ".aerobuttonmenu a.aero" property "float" and set display:inline-block =) good luck
oh, and put links in <center> tag.
Thanks for commenting back! I'm not sure I'm following the fix - I attempted to remove the float property in the ".aerobuttonmenu a.aero" and the nav bar broke down - i also adjusted the display: block; to display: inline-block - I think I'm missing something here???
Thanks again!
David
Thanks again!
David
i've got the same problem, and i found the solution here on repair blue screen, just for reference.
OK, here is CHANGES to make menu centered.
HTML:
CSS:
Commenting is not available in this weblog entry.
HTML:
<h4>Aero Blue and Black Button Menus:</h4>
<div class="aerobuttonmenu">
<div class="rightsection">
http://i31.tinypic.com/33mpnon.png
</div>
<CENTER>
<span>Home</span>
<span>CSS Examples</span>
<span>Forums</span>
<span>Webmaster Tools</span>
<a href="http://www.javascriptkit.com" class="aero"><span>Javascript</span></a>
<span>Gallery</span>
</CENTER>
</div>
CSS:
.aerobuttonmenu a.aero{ /*aero button CSS*/
background: transparent url('media/aeroleft.gif') no-repeat top left;
display: inline-block;
float: none;
font: bold 13px Verdana, Trebuchet MS; /* Change 13px as desired */
line-height: 23px; /* This value + 8px should equal height of button background (default is 31px) */
height: 31px; /* Height of button background height */
padding-left: 10px; /* Width of left menu image */
text-decoration: none;
margin-right: 5px; /*spacing between buttons*/
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=90); /*this and next two rules control opacity of buttons before hover*/
opacity: 0.9;
-moz-opacity: 0.9;
}








