I am assuming that you are trying to center labels inside <a>s.

The simple way is to add text-align: center to actual block level container of your label - the <a> element. Once you do this, text-align would become redundant on li and ul - you can safely remove it from there.

However, if I were you, I would do the menu slightly differently. Instead of floating <a>s themselves, I would float <li> elements, and display: block <a>s inside. This gives you the benefit of having a "free" extra wrapper on <a>, which is potentially useful if you are playing tricks with backgrounds.

Roman.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to