This is a migrated thread and some comments may be shown as answers.

Center li in ul

0 Answers 77 Views
TabStrip
This is a migrated thread and some comments may be shown as answers.
Chris
Top achievements
Rank 1
Chris asked on 05 Feb 2009, 04:24 PM
I've created a custom skin, and I'm currently trying to get the list item's of the submenu to align to the center of their parent ul. However, when I put a border around the parent ul, I see that it is 0 pixels tall, and does not wrap around it's li's. I was wondering, why is it doing this? It is preventing me from simply putting text-align:center on the ul element.

Any help would be greatly appreciated.

No answers yet. Maybe you can help?

Tags
TabStrip
Asked by
Chris
Top achievements
Rank 1
Share this question
or