i made a vertical menu. I want that the first tab has a different color than the other ones. I put the color black for the other one. Here's my code
in my html code i got the ul (class = "vertical") and in a "li" there's a link <a> .. the first one i put a id = "title"
CSS
.vertical{
list-style-type: none;
margin: 0;
padding: 0;
width: 100%;
}
#titre{
background: ##1C1C1C url(image/menu_PC/effet_fondu.gif) no-repeat right top;
}
.vertical li{
border-bottom: 1px solid white; /* white border beneath each menu item */
}
.vertical li a{
background: #6E6E6E url(image/menu_PC/effet_fondu.gif) no-repeat right top;
font: bold 13px "Lucida Grande", "Trebuchet MS", Verdana;
display: block;
color: white;
width: auto;
padding: 5px 0; /* Vertical (top/bottom) padding for each menu link */
text-indent: 8px;
text-decoration: none;
border-bottom: 1px solid black;
}
.vertical li a:visited, .vertical li a:active{
color: white;
}
.vertical li a:hover{
background-color: black; /*color of menu onMouseover*/
color: white;
border-bottom: 1px solid black;
}
Thank you
##1C1C1C- fix the double hash. 2. Could you add the relevant HTML?{}button. Or, if you simply can't get it to work, just paste it in anyway and I'll fix it.