Center li in ul

1 posts, 0 answers
  1. Chris
    Chris avatar
    2 posts
    Member since:
    Jun 2008

    Posted 05 Feb 2009 Link to this post

    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.
Back to Top