Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/html/72.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
Html Bootstrap 3表列相同宽度_Html_Css_Twitter Bootstrap - Fatal编程技术网

Html Bootstrap 3表列相同宽度

Html Bootstrap 3表列相同宽度,html,css,twitter-bootstrap,Html,Css,Twitter Bootstrap,我试图使所有列的宽度相同, 有合适的引导方法吗 <a href="produkte.html"> <div class="panel-body"> <table class="table"> <tbody> <tr

我试图使所有列的宽度相同, 有合适的引导方法吗

                <a href="produkte.html">
                    <div class="panel-body">
                        <table class="table">
                            <tbody>
                            <tr>
                                <th></th>
                                <th>#</th>
                                <th> # analog Eingänge</th>
                                <th> # I/Os</th>
                            </tr>
                            </tbody>
                        </table>
                    </div>
                </a>


您必须将此样式设置到您的表格中

table {
    table-layout: fixed;
}

为什么不使用单元格和/或行? 如果您不知道,请添加此代码(也可以学习它,它可能很有用)


似乎在您的案例中使用引导的行和单元格要好得多。
table {
    table-layout: fixed;
}