Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/meteor/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Twitter bootstrap Bootstrap 3个表don';我不能和流星一起正常工作_Twitter Bootstrap_Meteor - Fatal编程技术网

Twitter bootstrap Bootstrap 3个表don';我不能和流星一起正常工作

Twitter bootstrap Bootstrap 3个表don';我不能和流星一起正常工作,twitter-bootstrap,meteor,Twitter Bootstrap,Meteor,当我将引导表与Meteor一起使用时,它们的显示方式与预期不同表格条带化不起作用,填充已关闭 我尝试过使用bootstrap-3软件包以及一个基本的meteor应用程序,css链接到CDN 有人知道发生了什么事吗 这里是流星html <head> <title>test</title> <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel

当我将引导表与Meteor一起使用时,它们的显示方式与预期不同<代码>表格条带化不起作用,填充已关闭

我尝试过使用bootstrap-3软件包以及一个基本的meteor应用程序,css链接到CDN

有人知道发生了什么事吗

这里是流星html

<head>
  <title>test</title>
  <link href="//netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css" rel="stylesheet">
</head>

<body>
  {{> hello}}
</body>

<template name="hello">
    <div class="container">
    <h1>Hello World!</h1>
    <p>Default</p>
    <table class="table">
    <tr>
        <td>Test 1</td>
        <td>Test 2</td>
    </tr>
      <tr>
        <td>Test 1</td>
        <td>Test 2</td>
    </tr>
      <tr>
        <td>Test 1</td>
        <td>Test 2</td>
    </tr>
  </table>

    <p>Table-striped</p>
    <table class="table table-striped">
    <tr>
        <td>Test 1</td>
        <td>Test 2</td>
    </tr>
      <tr>
        <td>Test 1</td>
        <td>Test 2</td>
    </tr>
      <tr>
        <td>Test 1</td>
        <td>Test 2</td>
    </tr>
  </table>
    <p>Table-bordered</p>

    <table class="table table-bordered">
    <tr>
        <td>Test 1</td>
        <td>Test 2</td>
    </tr>
      <tr>
        <td>Test 1</td>
        <td>Test 2</td>
    </tr>
      <tr>
        <td>Test 1</td>
        <td>Test 2</td>
    </tr>
  </table>
  </div>
</template>

测试
{{>你好}
你好,世界!
违约

测试1 测试2 测试1 测试2 测试1 测试2 带条纹的桌子

测试1 测试2 测试1 测试2 测试1 测试2 有边框的桌子

测试1 测试2 测试1 测试2 测试1 测试2
您需要用
包装表格内容:


...

问题似乎与缺少的
元素有关,该元素通常由浏览器自动添加。有趣-我今天遇到了同样的问题。
<table class="table table-striped">
  <tbody>
    <tr>
      ...
    </tr>
  </tbody>
</table>