I'm struggling with a CSS issue while attempting to add a 1px solid black line after each element in my drop-down table menu. The current appearance of my menu is causing some trouble.
What I desire for it to look like involves applying border: 1px solid black;
within the .menu li a { } section, but I don't want this style to affect the draft button since it's displaying a double border as seen in the picture.
How can I resolve this dilemma?
code snippet for the drop-down component shown:
.menu .dropdown_1col {
margin:4px auto;
left:-999em;
position:absolute;
background:#F4F4F4;
border: 1px solid black;
text-indent:15px;
background: -moz-linear-gradient(top, #EEEEEE, #BBBBBB);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#EEEEEE), to(#BBBBBB));
}
.menu li {
float:left;
text-align:center;
position:relative;
padding: 4px 10px 4px 10px;
margin-right:30px;
margin-top:7px;
border:none;
}
.menu li:hover {
z-index:2;
background:#F4F4F4;
border:1px solid #aaaaaa;
padding: 4px 9px 4px 9px;
/* CSS 3 Stylings */
background: -moz-linear-gradient(top, #F4F4F4, #EEEEEE);
background: -webkit-gradient(linear, 0% 0%, 0% 100%, from(#F4F4F4), to(#EEEEEE));
}
.menu li a {
color: #EEEEEE;
outline:0;
text-decoration:none;
display:block;
text-shadow: 1px 1px 1px #000;
}
.menu li:hover a {
color:#161616;
text-shadow: none;
}
.menu li .drop {
padding-right:21px;
background:url("img/drop.png") no-repeat right 8px;
}
.menu li:hover .drop {
padding-right:21px;
background:url("img/drop.png") no-repeat right 7px;
}
.menu li:hover div a {
color:#444;
}
.menu li:hover div a:hover {
color:#777;
}
.menu li ul li a:hover {
color:#777;
}