Hey guys. This is probably a pretty simple problem, but I can't seem to figure out what's going on.
I implemented this menu: http://www.dynamicdrive.com/style/csslibrary/item/inverted-modern-bricks-menu/ into a site I am working on.
The menu itself is working great. But the other links on my page seem to be taking on it's link styling. EG the default links are styled like the links in the menu. I hope I have explained that properly.
Is there a way to adjust the code so this won't happen? I really like the look of the menu. I haven't had this problem occur with a pre-made menu like this before, so I am not sure how to fix it.
I implemented this menu: http://www.dynamicdrive.com/style/csslibrary/item/inverted-modern-bricks-menu/ into a site I am working on.
The menu itself is working great. But the other links on my page seem to be taking on it's link styling. EG the default links are styled like the links in the menu. I hope I have explained that properly.
Is there a way to adjust the code so this won't happen? I really like the look of the menu. I haven't had this problem occur with a pre-made menu like this before, so I am not sure how to fix it.
Code:
#tabs { width:100%; font-size:105%; line-height:normal; border-bottom:1px solid #666; margin-bottom:1em; /*margin between menu and rest of page*/
overflow:hidden; float: left; }
#tabs ul {
margin:0;
padding:10px 10px 0 0px;
list-style:none;
}
#tabs li {
display:inline;
margin:0;
padding:0;
}
#tabs a {
float:left;
background:url(../media/left.png) no-repeat left top;
margin:0;
padding:0 0 0 6px;
text-decoration:none;
}
#tabs a span {
float:left;
display:block;
background:url(../media/right.png) no-repeat right top;
padding:6px 15px 4px 6px;
margin-right:2px;
color:#FFF;
}
/* Commented Backslash Hack hides rule from IE5-Mac \*/
#tabs a span {float:none;}
/* End IE5-Mac hack */
#tabs a:hover span {
}
#tabs a:hover {
background-position:0% -42px;
}
#tabs a:hover span {
background-position:100% -42px;
}
/*menu2*/
#modernbricksmenu2{
padding: 0;
width: 100%;
border-top: 5px solid #000; /*Brown color theme*/
background: transparent;
voice-family: "\"}\"";
voice-family: inherit;
}
#modernbricksmenu2 ul{
margin:0 0 0 100px;
padding: 0;
list-style: none;
}
#modernbricksmenu2 li{
display: inline;
margin: 0 4px 0 0;
padding: 0;
text-transform:uppercase;
}
#modernbricksmenu2 a{
float: left;
display: block;
font: bold 11px Arial;
color: white;
text-decoration: none;
margin: 0 1px 0 0; /*Margin between each menu item*/
padding: 5px 15px;
background-color: #06c; /*Brown color theme*/
border-top: 1px solid #000;
}
#modernbricksmenu2 a:hover{
background-color: #000; /*Brown color theme*/
color: white;
}
#modernbricksmenu2 #current a{ /*currently selected tab*/
background-color: #000; /*Brown color theme*/
color: white;
border-color: #000; /*Brown color theme*/
}