Advanced Search Usage Terms Submit Contact
Dynamic Drive CSS Library
 
CSS Library
Submit an original CSS code
CSS Layouts
Web Graphics
Online Tools:

Advertise Here

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:

The HTML:

Code Info

Rate this code:

Date Posted: 05/07/2006

Revision History: None

Usage Terms: Click here

Your Comments (66)

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 >

This is no good if you can't control the position and width.
Posted by lisa toohey on 05/01, 09:56 AM
You can use main div in align to centre
ok
Posted by SV Creation on 05/03, 11:24 AM
Wow..Cool...I love this Css.
Thanks Very Much...
Posted by Cool on 05/05, 06:07 PM
nana
Posted by ddd on 05/14, 02:13 AM
Excellent you this rocks
Posted by Mo on 05/28, 11:22 AM
thanks for the tips
Posted by Phone Number on 06/05, 12:30 PM
I need help. What should I name the css file and html file?
I try to use the code but only text displays and I am unable to make this code work for me.

Can someone help me please.
Posted by Daniel on 07/29, 09:32 AM
This works poorly due to a bug in IE 7: When you change IE's font size using Ctrl-+/-, the menu header text falls out of the <li> elements. Anyone know how to fix this? Thanks.
Posted by Sean on 09/03, 08:14 AM
Thank you very much ^^
It's great job !!
Posted by gigkokman on 09/17, 02:26 AM
This will not work in Windows Internet Explorer!
Posted by Kenny on 11/07, 11:36 AM

Comment Pages 6 of 7 pages « First  <  4 5 6 7 >

Commenting is not available in this weblog entry.
Copyright 2006-2008 Dynamic Drive Read our Usage Terms before using any of the CSS codes.
Dynamic Drive DHTML and CSS Code Library