I have been at this for some time, and can't seem to get it just right.
I have a fairly simple vertical menu structure (Templeron Template) with background color boxes (which change colour when hovered over) around each text link.
Home
Link 1
Link 1 child 1
Link 1 child 2
Link 2
What I would like to do is decrease the vertical spacing of the parent/child menu items, so it looks like this:
Home
Link 1
Link 1 child 1
Link 1 child 2
Link 2
But for the life of me, I can't seem to get it right. Can anyone offer any assistance. I am willing to read and learn myself, but I have searched here and Google and can't find any reference to doing this.
Here is the menu CSS info:
.menu {
vertical-align: top;
background-color: #FFFFFF;
width: 170px;
padding: 0px;
}
.menu ul, .menu li{
list-style-type: none;
margin: 0;
padding: 0;
}
.menu ul {
border-bottom: 0px;
background-color: #003366;
}
.menu ul ul {
font-style: italic;
padding-left: 10px;
}
.menu a:link, .menu a:visited, .menu a:active {
padding: 4px 10px 4px 10px;
color: #FFFFFF;
display: block;
background-color: #003366;
text-decoration: none;
}
.menu a:hover {
background-color: #336699;
text-decoration: none;
}
.menu_current {
font-weight: bold;
}