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

Advertise Here

CSS Library: Horizontal CSS Menus: Here

Modern Bricks Menu

Author: Dynamic Drive

This is a modern looking, imageless horizontal menu. The selected menu item merges with the band below it to help it stand out even more. As mentioned, the menu uses no images, making customization a breeze.

Demo:

 

The CSS:

The HTML:

Code Info

Rate this code:

Date Posted: 05/24/2007

Revision History: None

Usage Terms: Click here

Your Comments (63)

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 »

Simon, you remove the search from the html, it souds like you're editing the CSS style sheet instead.
Posted by Victor on 07/02, 12:27 AM
Could you explain how this works:

}

#modernbricksmenu #current a{ /*currently selected tab*/
background-color: #D25A0B; /*Brown color theme*/
border-color: #D25A0B; /*Brown color theme*/
}

Do I have to set the color for each page or it will be done automatically for "currently selected tab"?

Thank you for helping a novice!
Posted by Vinh on 07/02, 04:40 PM
I can't figure out how to connect the horizontal line to the tab once the div is moved from the bottom to the top, I've trird everything!
Posted by J on 07/06, 04:32 PM
AHA! Take the style out of the first <ul>
style="margin-left: 1px"
And the line connects to the top.
Posted by J on 07/06, 04:39 PM
Remove the style from the first <LI> and the line should connect.
Posted by J2 on 07/06, 04:48 PM
Hi there, is it possible that the menu can be vertical? Also that the selected menu item has different text and background colors? Can anyone please help?
Posted by Brian on 07/06, 05:59 PM
Anyone have any ideas about dynamically changing the id="current" for the currently selected list element?
Posted by K Johnson on 07/09, 02:06 PM
Two people have already asked how current is supposed to reflect the currently viewed tab.

I don't see why you would even include a "current" setting if the menu remains stuck on one tab!

This isn't the only menu where I see the "current" id abused. Nowhere can I find it explained on a single one of these menus.

Does someone have an explanation? Author?
Posted by Slob Jones on 07/15, 03:41 AM
One of the best and simplest menus I have found, and believe you me I have looked and looked...

Well done and thank you - keep up the good work.
Posted by Peter Gilkes on 07/19, 10:13 AM
How do I make it so the boxes get wider and remain one line when I put text in them that is too long for the current set up? Example: When I try to make a tab that says "Employment Opportunities" the second word is put on a second line and it looks wrong. Thanks.
Posted by Nacho on 07/23, 01:35 PM

Comment Pages 2 of 7 pages  <  1 2 3 4 >  Last »

Name: (Required)

Email: (Required)

(NOT shown on page)

URL:

(Shown on page if entered)

Comments: (Required)

Supported BB codes: [b], [i], [u], [em], [strike], [strong], [pre], [code], and [blockquote].

Remember my personal information
Notify me of follow-up comments?

Submit the word you see below ("previewing" post does not require it):


Copyright 2006 Dynamic Drive Read our Usage Terms before using any of the CSS codes.
Dynamic Drive DHTML and CSS Code Library