Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Navigation Menu – Making Drop Down Links Invisible & Visible On Mouseover? Re: Navigation Menu – Making Drop Down Links Invisible & Visible On Mouseover?

#106114
MBM
Participant

http://mbmitservices.co.uk/MMA/index.html



I had the wrong name in the tag :


#menu li:hover ul {

Should be :


#navigation li:hover ul {

It’s working now but the styling is a mess.


/*drop down styling*/
#navigation li:hover ul {
display:block;
background-color: #2864c4;
width:160px;
margin-left:0px;
padding:0px;
float:left;
}

Any idea why the first link in the drop down isn’t in line with the other links? How do I position the links? Adjusting the margins isn’t working.