Html 引导-如何防止列重叠

Html 引导-如何防止列重叠,html,twitter-bootstrap,Html,Twitter Bootstrap,我有一个表格和文本,它们是重叠的。如果我将列大小切换为lg,即class=“col-xs-6”,则文本将折叠在下面。但是,我希望它们并排出现,直到浏览器不允许,然后崩溃 代码非常简单: <div class="row " style="background-color:#f5fcff; border-radius:15px; margin-left:25px; margin-top:35px"> <div class="col-xs-6" >

我有一个表格和文本,它们是重叠的。如果我将列大小切换为lg,即class=“col-xs-6”,则文本将折叠在下面。但是,我希望它们并排出现,直到浏览器不允许,然后崩溃

代码非常简单:

<div class="row " style="background-color:#f5fcff; border-radius:15px; margin-left:25px; margin-top:35px">
        <div class="col-xs-6"  >
          <div style="padding-top:25px">
            This table contains a list of users and how many times they've looked at a product's page (user):
          </div>
            <table class="table table-hover" style="text-align:center">
              <thead>
                <tr>
                  <th>User ID</th>
                  <th>14CBL13W</th>
                  <th>18VAEA35W</th>
                  <th>14CBL15Y</th>
                  <th>14DAEA12W</th>
                  <th>14OM6DY</th>
                  <th>...</th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td>234234</td>
                  <td>0</td>
                  <td>0</td>
                  <td>15</td>
                  <td>3</td>
                  <td>0</td>
                  <td>...</td>
                </tr>
                ...                  
              </tbody>
            </table>
          </div>
          <div class="col-xs-6" style="padding-left:35px; padding-top:75px" >
            In this example, a new user 96887, which has looked at '14DAEA12W'. The value of '14DAEA12W' has now changed from 0 to 1. Now, which item would recommend that the user might like? If you answered '14CBL15Y' then you are correct. This is because user data is showing that there is a high amount of correlation between the two. However, this may also be part of a feedback loop - the more the item is recommended, the higher the chance that its value in this chart goes up. This chart also overlooks any item characteristic similarities, it only looks at user behavior. 
          </div>
      </div>

此表包含用户列表以及他们查看产品页面的次数(用户):
用户ID
14CBL13W
18VAEA35W
14CBL15Y
14DAEA12W
14OM6DY
...
234234
0
0
15
3.
0
...
...                  
在本例中,新用户96887查看了“14DAEA12W”。“14DAEA12W”的值现在已从0更改为1。现在,建议用户喜欢哪一项?如果您回答“14CBL15Y”,则您是正确的。这是因为用户数据显示两者之间存在着高度的相关性。然而,这也可能是反馈循环的一部分-推荐的项目越多,其在该图表中的价值上升的可能性就越高。此图表还忽略了任何项目特征的相似性,它只关注用户行为。

您缺少
,请将您的块放在其中。

EDIT1:如果您将div作为无序列表(如下面)枚举,引导将再次看起来很好。如果您在jsfiddle.net中运行它,它看起来就不会像您预期的那样。如果希望它不重叠并保持在同一行中,请尽量缩短表格或使列表水平运行,从而为它提供更多的空间。至于现在,col-xs-1可能看起来不错

<div class="row " style="background-color:#f5fcff; border-radius:15px; margin-left:25px; margin-top:35px">
    <ul style="list-style-type:none">
        <li>
        <div class="col-xs-6" >
          <div style="padding-top:25px">
            This table contains a list of users and how many times they've looked at a product's page (user):
          </div>
        </li>
          <li>
            <table class="table table-hover" style="text-align:center">
              <thead>
                <tr>
                  <th>User ID</th>
                  <th>14CBL13W</th>
                  <th>18VAEA35W</th>
                  <th>14CBL15Y</th>
                  <th>14DAEA12W</th>
                  <th>14OM6DY</th>
                  <th>...</th>
                </tr>
              </thead>
              <tbody>
                <tr>
                  <td>234234</td>
                  <td>0</td>
                  <td>0</td>
                  <td>15</td>
                  <td>3</td>
                  <td>0</td>
                  <td>...</td>
                </tr>
                ...                  
              </tbody>
            </table>
          </div>
        </li>
        <li>
          <div class="col-xs-6" style="padding-left:35px; padding-top:75px" >
            In this example, a new user 96887, which has looked at '14DAEA12W'. The value of '14DAEA12W' has now changed from 0 to 1. Now, which item would recommend that the user might like? If you answered '14CBL15Y' then you are correct. This is because user data is showing that there is a high amount of correlation between the two. However, this may also be part of a feedback loop - the more the item is recommended, the higher the chance that its value in this chart goes up. This chart also overlooks any item characteristic similarities, it only looks at user behavior. 
          </div>
        </li>
      </div>

    </ul

  • 此表包含用户列表以及他们查看产品页面的次数(用户):
  • 用户ID 14CBL13W 18VAEA35W 14CBL15Y 14DAEA12W 14OM6DY ... 234234 0 0 15 3. 0 ... ...
  • 在本例中,新用户96887查看了“14DAEA12W”。“14DAEA12W”的值现在已从0更改为1。现在,建议用户喜欢哪一项?如果您回答“14CBL15Y”,则您是正确的。这是因为用户数据显示两者之间存在着高度的相关性。然而,这也可能是反馈循环的一部分-推荐的项目越多,其在该图表中的价值上升的可能性就越高。此图表还忽略了任何项目特征的相似性,它只关注用户行为。
p>

我把它放在一个容器中,从页面的更高位置开始(在屏幕截图之外)。虽然我把它放在它自己的容器中,但我还是要进行测试。不幸的是,它不起作用。我尝试删除任何填充、边框和边距属性,但不幸的是,它没有解决问题。好的,不要放弃希望,我正在开发一个需要列表的新解决方案,但它会使网站更漂亮。我在我的练习网站上使用它,希望列表能让你的练习更好。你找到答案了吗?