CSS Library: Horizontal CSS Menus: Here
Chrome Menu Bar
Author: Dynamic Drive
This is a lightweight "chrome" looking CSS menu bar. The menu uses two variants of the same background image to create the hover effect. The first background image is applied to the entire menu bar, while the second sporting a different color is applied only when the mouse moves over any of the menu links. The menu items can easily be set to either align "left", "center", or "right" on the page, just by changing the "text-align" attribute.
Demo:
The two images (resized for easier download):
![]()
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 2 of 7 pages < 1 2 3 4 > Last »
It doesn't really look that great to me...
@pranav: try copying just the source above and making sure it works. Then copy and paste it into your actual source in the right places.
@pranav: try copying just the source above and making sure it works. Then copy and paste it into your actual source in the right places.
?? It Doesnt Work, darn and it was such a good menu!
great menu and great tutorial, but i'd like to combine it with the CF menu bar (with the rounded images on the left and on the right) and i tried copying and modifying the code but i couldn't get it to work.. please help
Great menu, but you'll notice that, on hovering over all but the far left menu items, there is a left-hand "hangover" of sorts where the rollover background does not apply. I found this rather annoying.
Changing
to
puts a double-border between every two menu items, and the background fills in flush against both borders. It still looks good left-aligned, centered, and right-aligned, as well.
Changing
#chromemenu ul li{
display: inline;
}
to
#chromemenu ul li{
display: inline;
border-left:1px solid #DADADA;
}
puts a double-border between every two menu items, and the background fills in flush against both borders. It still looks good left-aligned, centered, and right-aligned, as well.
does this menu support mult-level?
menu1 | menu2 | menu3
|
->menu1-1->menu1-1a
|
->menu1-2->menu1-2a
so far I've only implemented to this level:
menu1 | menu2 | menu3
|
->menu1-1
|
->menu1-2
I want to know if I can add another level into menu1-1 or menu1-2
thanks.
menu1 | menu2 | menu3
|
->menu1-1->menu1-1a
|
->menu1-2->menu1-2a
so far I've only implemented to this level:
menu1 | menu2 | menu3
|
->menu1-1
|
->menu1-2
I want to know if I can add another level into menu1-1 or menu1-2
thanks.
The blue bar on rollover isn't showing up on all my buttons, why is this?
Great use of CSS with an eye-catching menu that is simple to use. Thanks for making this available. One question for you: Please see my URL. Any way to use the hover effect for other links without causing them to appear in the menu?
yes i like it so much but why i do it not work?
i mean it's don't work change at on mousover :D
or i make some misstake please explain to me
thank you :D
i mean it's don't work change at on mousover :D
or i make some misstake please explain to me
thank you :D
This is fantastic... I combined this with another on Dynamic Drive to give my site a real nice look with professional and progressive appeal, which isn't bad considering I am teaching myself html... couldn't do it without you...
Commenting is not available in this weblog entry.


Thanks