PDA

View Full Version : Need help with css menu dividers



new_user
05-03-2007, 07:15 PM
Hi,

Below is my css code for a menu bar. It has dividers, but it does not have a divider bar in front of the Log Out button. How do I add one and where do I change the color of the dividers?

.chromestyle{
width: 100%;
font:normal 14px Arial;
font-weight: bold;
background-color:#1084c6;}


.chromestyle ul{
border: 2px groove double outset #399CCE;
width: 100%;
background: url(chromebg2.gif) left left repeat-x; /*THEME CHANGE HERE*/
padding: 4px 0;
margin: 0;
text-align: left; /*set value to "left", "center", or "right"*/
}

.chromestyle #active
{
float: right;
margin-right: 10px;
}


.chromestyle ul li{
display: inline;
}

.chromestyle ul li a{
color: #FFFFFF;
padding: 4px 7px;
margin: 0;
text-decoration: none;
border-right: 1px solid #B5E2FE; /*THEME CHANGE HERE*/
}

.chromestyle ul li a:hover{
color: #FFCC33;
}



/* ######### Style for Drop Down Menu ######### */

.dropmenudiv{
position:absolute;
font:normal 12px Arial;
top: 0;
border: 1px solid FFCC33; /*THEME CHANGE HERE*/
/*border-bottom-width: 0;*/
line-height:18px;
z-index:100;
background-color: 0066CC;
width: 200px;
visibility: hidden;
/*filter: progid:DXImageTransform.Microsoft.Shadow(color=#1084c6,direction=135,strength=4);*/ /*Add Shadow in IE. Remove if desired*/
}


.dropmenudiv a{
font-family: arial, serif
font-size: 12px;
width: 100%;
display: block;
text-indent: 1px;
border-bottom: 1px solid #1084c6; /*THEME CHANGE HERE*/
padding: 2px;
text-decoration: none;
font-weight: bold;
color: white;
}

.dropmenudiv a:hover{ /*THEME CHANGE HERE*/
background-color: 000080;
}