使用表`class =“table table-bordered table-hover”`可定制的高度和witdh来创建tbody

时间:2017-09-30 19:20:01

标签: html css twitter-bootstrap

是否可以使class="table table-bordered table-hover"的表格具有可自定义的高度和宽度?如果是,我该如何做到这一点?

<div class="col-md-6">
    <table class="table">
        <center>
            <label>ORDER</label>
        </center>

        <table class="table table-bordered table-hover">
            <thead>
                <tr>
                    <th>ProductName</th>
                    <th>Quantity</th>
                    <th> Price </th>
                    <th>Discount</th>
                    <th>Amount</th>
                    <th>X</th>
                </tr>
            </thead>
            <tbody>

            </tbody>
        </table>
    </table>
</div>

0 个答案:

没有答案