Home > Web Front-end > HTML Tutorial > By the way, has anyone used bootstrap2.0? A question about tabs??_html/css_WEB-ITnose

By the way, has anyone used bootstrap2.0? A question about tabs??_html/css_WEB-ITnose

WBOY
Release: 2016-06-24 12:02:32
Original
903 people have browsed it

In other words, if the tab style is tabs-left, then the tabs will be arranged in a vertical column on the left.
At the same time, the content in the tab is on the right. .

But when there is too much content in the tab, the text in the tab becomes misaligned. . . It no longer aligns with the original text above, but runs below the tab. .

It looks like this:

I wonder if everyone can see the pictures in the upload space? If you can’t see it, please click here: http://hi.csdn.net/space-3277229-do-album-picid-1056573-goto-down.html

Could you please tell me how to change it so that the tab The content is placed in the normal position? Thank you very much! ! ! !


Reply to the discussion (solution)

<div class="tabbable tabs-left">  <ul class="nav nav-tabs">    <!--一大串li略去-->  </ul>  <div class="tab-content">    <div class="tab-pane" id="lB">            <p>这个div里面的东西要用p标签或者div标签框起来</p>     </div>    ......此处重复上个div  </div></div>
Copy after login


The code I tested did not have the above problems, remember that inside the div Things need to be framed with a div or p

It’s not easy to use even adding div and p? ?. . T T. .


HTML code


Related labels:
tab
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template