smus Posted February 19, 2016 Share Posted February 19, 2016 I need the tabs to be on the left(horizontally). Tried to use the class "tabbable tabs-left" (class="tabbable tabs-left")but it doesn't work. They continue to be on the bottom (by default), as in the officialexample(http://getbootstrap.com/2.3.2/components.html#navbar): <div class="tabbable tabs-left"> <ul class="nav nav-tabs"> <li class="active"><a href="#tab1" data-toggle="tab">Section 1</a></li> <li><a href="#tab2" data-toggle="tab">Section 2</a></li> </ul> <div class="tab-content"> <div class="tab-pane active" id="tab1"> <p>I'm in Section 1.</p> </div> <div class="tab-pane" id="tab2"> <p>Howdy, I'm in Section 2.</p> </div> </div> </div> Maybe anyone know what is wrong? Link to comment Share on other sites More sharing options...
dsonesuk Posted February 19, 2016 Share Posted February 19, 2016 Bootstrap 3 no longer support these classes see http://stackoverflow.com/questions/18432577/stacked-tabs-in-bootstrap-3/18443236#18443236 Link to comment Share on other sites More sharing options...
smus Posted February 21, 2016 Author Share Posted February 21, 2016 Bootstrap 3 no longer support these classes see http://stackoverflow.com/questions/18432577/stacked-tabs-in-bootstrap-3/18443236#18443236 Thank you very much! Just one more question: is it possible to create the same features in W3.css by adding appropriate css code? Or it is also supports only horizontal positioning? Link to comment Share on other sites More sharing options...
dsonesuk Posted February 21, 2016 Share Posted February 21, 2016 W3.css is simple light weight poor mans alternative, it does not have half the features of bootstrap, you will have to copy the same css classes and styling used in bootstrap for tabs and use in w3.css or custom css file. Link to comment Share on other sites More sharing options...
smus Posted February 22, 2016 Author Share Posted February 22, 2016 Yes, you are right. Thanks a lot! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now