1) Script Title:
Accordion Menu
2) Script URL (on DD):
http://www.dynamicdrive.com/dynamici...menu-urban.htm
3) Describe problem:
Mz problem is that i want to get rid of the spaces between the header of the meniu, i have seen that i am not the only one with this problem and i know that it is in CSS, look at my CSS because i can't find the source of the problem, i don't find the padding in CSS
.urbangreymenu{
width: 138px; /*width of menu*/
}
.urbangreymenu .headerbar{
font: normal 12px Arial;
color: white;
background: #0053AA;
margin-bottom: 0px; /*bottom spacing between header and rest of content*/
text-transform: uppercase;
padding: 5px 0 5px 0px; /*31px is left indentation of header text*/
}
.urbangreymenu .headerbar a{
text-decoration: none;
color: white;
display: block;
}
.urbangreymenu ul{
list-style-type: none;
margin: 0;
padding: 0;
margin-bottom: 0px; /*bottom spacing between each UL and rest of content*/
}
.urbangreymenu ul li{
padding-bottom: 2px; /*bottom spacing between menu items*/
}
.urbangreymenu ul li a{
font: normal 12px Arial;
color: black;
background: #D0EEF6;
display: block;
padding: 3px 0;
line-height: 17px;
padding-left: 0px; /*link text is indented 8px*/
text-decoration: none;
}
.urbangreymenu ul li a:visited{
color: black;
}
.urbangreymenu ul li a:hover{ /*hover state CSS*/
color: white;
background: #012559;
}
and I am very confused. Please help me.




Reply With Quote

Bookmarks