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 6 of 7 pages « First < 4 5 6 7 >
#modernbricksmenu{
padding: 0;
width: 100%;
background: transparent;
voice-family: "\"}\"";
voice-family: inherit;
}
why is "voice-family" used here - and why is it used twice - and what does "inherit" mean here?
how can we had horizontal submenu's to this???????
nice menu. my question is very easy.
how do I make this codes work?
I saved the first code as modernbrick.css and the second code as modernbrick.html when i open the html file the design doesnt show. How can I fix that? thank you
how do I make this codes work?
I saved the first code as modernbrick.css and the second code as modernbrick.html when i open the html file the design doesnt show. How can I fix that? thank you
nice - good looking
This is a great CSS menu, and I appreciate the simplicity of it. :) Question: How do you elongate the menu boxes so they are of the same size, even if the page menu "names" are not? Please be kind as I'm still learning! Thanks!
a very nice point here..thanks










there have been a number of questions about making the CURRENT menu current. I have used a simple bit of javascript to do this and it works fine:
On each button add the following code within the <a > onclick="makeCurrent(this)"
In the header section of your page put the javascript function:-
<script language="Javascript">
function makeCurrent(vMenu) {
var thisLI=vMenu.parentNode
var thisUL=thisLI.parentNode
var thisChild=thisUL.firstChild;
vMenu.parentNode.id = "current"
while ( thisChild != thisUL.lastChild )
{
if ( thisChild.tagName=="LI" )
{
thisChild.id=""
}
thisChild = thisChild.nextSibling;
}
thisLI.id = "current"
}
</script>
This should work:-