Hi all!
I have a "<ul>" with many "<li>". Each "li" contain a link ("<a>"). The "li" size is 100px. I can't center the link in the "li".
the "text-align: center" "works", but of course only for IE.
When I try "margin: auto" (applied to "<a>") a get left align. If I set a specifc size for left margin ("margin-left: 10px")
Is a complex site which is not on a server... so I can't offer you all the source. If you want to see some code please tell me.
Thanks!I wont to say that if I set a specific size for left margin of "<a>" (left-margin:10px), that works fine.li {
text-align:center;
}
should work fine. If it doesn't... can you post some code?
I have a "<ul>" with many "<li>". Each "li" contain a link ("<a>"). The "li" size is 100px. I can't center the link in the "li".
the "text-align: center" "works", but of course only for IE.
When I try "margin: auto" (applied to "<a>") a get left align. If I set a specifc size for left margin ("margin-left: 10px")
Is a complex site which is not on a server... so I can't offer you all the source. If you want to see some code please tell me.
Thanks!I wont to say that if I set a specific size for left margin of "<a>" (left-margin:10px), that works fine.li {
text-align:center;
}
should work fine. If it doesn't... can you post some code?