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 1 of 7 pages 1 2 3 > Last »
Thanks a lot for this CSS library! ! !
love it... nice job..
cool , i had a popup earlier now have it removed with this
Hey guys, really nice tutorial, but I prefer it if the blue part stretches the whole length of the button. Is there any way to do that?!
Cheers guys,
Joe
Cheers guys,
Joe
If you mean so the blue effect covers the entire link area(right now there's a little space on the left side), this was a compromise so that you could easily specify the alignment of the menu links (left, middle etc). To solution to your question is to set the menu links to float and , but that means aligning the menu links is no longer a trivial thing. Not a worth while compromise IMO.
display: block
I think it is, how would the links be aligned if the display: block was put in?
Joe
Joe
Thanks for the CSS lib! This is great and a huge help for people trying to learn CSS and XHTML.
DD does it again...
Lcdude
DD does it again...
Lcdude
Man, this is beautiful. I really like this site. Your tutorial format rocks!
Love it!
great men...and so easy to modify too
great men...and so easy to modify too
This is a great easy css menu. Two questions though. Is there a way to make all the buttons on the bar the same width? And is there a way to specify the width of the menu bar without having the seperator after the last menu item. Anyone...
Commenting is not available in this weblog entry.

