Centralize tabs

Asked

Viewed 154 times

0

I have the following code: http://bootsnipp.com/snippets/3x5jo

How do I center the "tabs", ie:

 <ul class="nav panel-tabs">
                            <li class="active"><a href="#tab1" data-toggle="tab">Tab 1</a></li>
                            <li><a href="#tab2" data-toggle="tab">Tab 2</a></li>
                            <li><a href="#tab3" data-toggle="tab">Tab 3</a></li>
                            <li><a href="#tab4" data-toggle="tab">Tab 4</a></li>
                        </ul>

Let tabs' titles align in the middle?

  • 1

    <ul class="nav panel-tabs text-center">

1 answer

0


Have you tried that:

<style>
.panel-tabs{text-align: center;}
</style>

Browser other questions tagged

You are not signed in. Login or sign up in order to post.