doli
January 24, 2012, 1:22pm
1
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.
PaulOB
January 24, 2012, 1:34pm
2
Hi,
You seemed to have answered your own question but not applied it
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;
}
doli
January 24, 2012, 1:41pm
3
ok, thanks for help, I was doing it for #extraNavlist ul { , so it would work only for ULs nested in this #extraNavlist , right?
PaulOB
January 24, 2012, 2:05pm
4
doli:
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