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:
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.
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!
}
#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!
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!
AHA! Take the style out of the first <ul>
style="margin-left: 1px"
And the line connects to the top.
style="margin-left: 1px"
And the line connects to the top.
Remove the style from the first <LI> and the line should connect.
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?
Anyone have any ideas about dynamically changing the id="current" for the currently selected list element?
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?
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?
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.
Well done and thank you - keep up the good work.
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.









