Ok, I'm using wordpress theme SLR Lounge V2, and am trying to modify it to suit my needs. The problem I'm having is with my navigation's drop down menu. I'm currently using a custom menu (wordpress functionality, not theme).
Initially, there was no background behind the drop down at all (so you couldn't really read it), which I've managed to modify to get the colour I want, however, I don't want the gaps, and I want it all to line up flush on the right hand side. Here's a screenshot of what I'm talking about:
I've played with padding etc to no avail. Also, sometimes the navigation elements end up paired beside each other instead of a straight vertical list if I play with the padding.
Here is the css I have relating to the drop down navigation:
/* Start Menu Items */
#menu {
list-style:none;
margin:0;
padding:0;
width:1000px;
height:100%;
border:none;
}
#menu:after {
content:'';
display:block;
clear:both;
}
#menu li.hover a,#menu li:hover a,#menu li.hover,#menu li:hover {
position: relative;
}
#menu li.hover ul, #menu li:hover ul {
display: block;
}
/*start drop-down menus on the top menu*/
#menu ul {
padding:0;
margin:0 0 0 -10px;
list-style:none;
width:108px;
display: none; /*******if you delete this, your drop down menu will appear randomly on the page somewhere **/
position: absolute;
}
#menu ul li a { /*This is the drop down stufff */
text-align:left;
float:right;