我怎样才能将我的ul li列表放在css中心?

ran*_*er1 11 html css

我有以下HTML代码:

<section class="video">
            <div class="container">
                <div class="row">
                    <div class="col-md-12 text-center">

                        <ul class="footer-nav">
                            <li><a href="#">Contact</a></li>
                            <li><a href="#">Press</a></li>
                            <li><a href="#">Careers</a></li>
                            <li><a href="#">Business</a></li>
                            <li><a href="#">Careers</a></li>
                            <li><a href="#">Business</a></li>
                        </ul>

                    </div>
                </div>
            </div>
        </section>
Run Code Online (Sandbox Code Playgroud)

并且包含我的CSS(在jsfiddle中)我得到的结果是文本与左边对齐...我如何将所有内容都居中,所以结果如下:

                  Contact  Press  Careers  Business  Careers  Bussiness 
Run Code Online (Sandbox Code Playgroud)

?谢谢.

小智 20

http://jsfiddle.net/tfLz08vd/2/

加上

ul {
text-align: center;
}

li {
display: inline-block;
}
Run Code Online (Sandbox Code Playgroud)

祝好运!;)