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

Solid Block Menu

Author: Dynamic Drive

This is a lean, professional looking CSS menu that's draped in a solid two color background image. The divider between the menu items is simply a white CSS border. The style is extremely easy to customize thanks to the simple background image used.

Demo:


The two images used (resized horizontally):

The CSS:

The HTML:

Code Info

Rate this code:

Date Posted: 03/27/2007

Revision History: July 6th 08"- Updated CSS for improved clear float in IE.

Usage Terms: Click here

Your Comments (165)

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 7 of 17 pages « First  <  5 6 7 8 9 >  Last »

This is a very silly question really, but I only have experience with PHP, and abit of html. Where do I put the CSS?
Posted by Rolland on 06/21, 11:58 AM
Yeah a drop down version of this menu would be excelent!
Posted by Windows Hosting on 06/27, 04:21 AM
how can i highlight the menu i selected to the next page?
for example, if i selected "menu item 2", it will open "menu item 2" page, and i want this "menu item 2" to be highlighted in this page.

I understand the highlight css is "class=current"
, but how can i pass this "class=current" to be added to the next page?
Posted by jim on 07/04, 09:57 PM
Every piece of code people have given me in order to center the menu, but the menu wont center in firefox or safari. NOTE: the menu im using is stretched across the page, 100%.
Posted by Gladiator on 07/11, 03:49 PM
thanks very good ...i using this sites;


www.izmirsozluk.com
www.c6c.org
www.kisalink.info
Posted by mstgngr on 07/13, 10:55 PM
hi there can someone explain how do i can change white separators for gif pic??
Posted by dola on 07/16, 04:03 PM
Hi -- At the end of the last link, there it shows one more tab at the most right hand side which i m trying to get rid of it but i can not.

Please let me know how to scale or margin entire menu so that all tabs occur in that area.
Posted by Pallavi Parmar on 07/18, 07:08 AM
Hey, how do you get the buttons to change color like above? It doesn't do that on mine
Posted by Shawn on 07/25, 05:28 PM
I've had a go at creating this menu with rounded corners and a dropdown menu with a rounded base. If you want to take a look and download a zip containing the amended files with images, go here:

http://www.calmdesign.co.uk/test/blockmenu.html

Kujee
Posted by Kujee on 07/25, 08:29 PM
good menu thanks ;)
Posted by mst on 07/26, 01:06 PM

Comment Pages 7 of 17 pages « First  <  5 6 7 8 9 >  Last »

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