<table class="table table-striped table-bordered table-hover table-condensed">
>
                        <tr class="active">
                            <th>表格标题</th>
                            <th>表格标题</th>
                            <th>表格标题</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr class="success">
                            <td class="verticalMiddle">表格单元</td>
                            <td class="verticalMiddle">表格单元</td>
                            <td>
                                <button type="button" class="btn btn-default">修改</button>
                                <button type="button" class="btn btn-default">预览</button>
                            </td>
                        </tr>
                    </tbody>
                </table>

style(为了让表格中的文本垂直居中)

    .verticalMiddle{
        vertical-align: middle;
    }

 

相关文章:

  • 2022-02-13
  • 2021-05-31
  • 2021-12-13
  • 2021-05-06
猜你喜欢
  • 2021-05-19
  • 2021-10-07
  • 2021-12-03
  • 2021-12-31
  • 2022-12-23
  • 2021-09-14
相关资源
相似解决方案