Problems with horizontal menu list

Guys, I’m stuck with this issue, maybe you could help me.

I’m working on my forum’s footer, now it’s almost all done:

http://dev.pececik.com/footer/ (logins/pass: test/test)

I have a problem with this horizontal menu list. Don’t know why it’s not in the #footerBox2 div, I thought maybe it’s padding/margins of ul but it’s not, not sure how to fit it into the footerBox2 div.

Hi,

You seemed to have answered your own question but not applied it :slight_smile:

The ul is pushed down because of its default top margin. ULs also have a default left margin/padding which you need to take care of also.


#extraNavlist{
margin:0 10px;
padding:0;
line-height:25px;
}

ok, thanks for help, I was doing it for #extraNavlist ul { , so it would work only for ULs nested in this #extraNavlist, right?

Yes the space is a descendant selector and you would miss the original target :slight_smile: