gpt4 book ai didi

html - 卡内 Bootstrap 4 表的问题

转载 作者:行者123 更新时间:2023-11-28 19:31:02 25 4
gpt4 key购买 nike

这是我的问题

Photo Error

如您所见,我不知道为什么表格在卡片中采用这种格式。我需要表格居中或者至少不显示此时显示的空白区域。 ...这是我的代码(我使用 angular 6)

<div class="row">
<div class="col-md-6">
<div class="header">
<h4 style="padding:10px" class="title">Dispositivo de Ejecucion</h4>
</div>
<div>
<table class="table table-bordered table-condensed table-responsive ">
<thead class="thead-dark">
<tr>
<th>Marca</th>
<th>Sistema Operativo</th>
<th>Version</th>
<th>Modelo</th>
</tr>
</thead>
<tbody>
<tr>
<td>{{dispositivoCdp[0].nombredispositivo}}</td>
<td>{{dispositivoCdp[0].sistema_operativo}}</td>
<td>{{dispositivoCdp[0].version}}</td>
<td>{{dispositivoCdp[0].modelo}}</td>
</tr>
</tbody>

</table>
</div>


</div>

<div class="col-md-6 justify-content-center">

<div class="header">
<h4 style="padding:10px" class="title">Tiempo de Ejecucion</h4>
</div>

<table class=" table table-bordered table-responsive ">
<thead class="thead-dark">
<tr>
<th>Inicio</th>
<th>Fin</th>
<th>Duracion</th>
</tr>
</thead>

<tbody>
<tr>
<td>{{dispositivoCdp[0].nombredispositivo}}</td>
<td>{{dispositivoCdp[0].sistema_operativo}}</td>
<td>{{dispositivoCdp[0].version}}</td>

</tr>
</tbody>

</table>
</div>

</div>

对我做错了什么有什么建议吗?我尝试在 table 类中使用 table-sm 但我没有得到任何结果

最佳答案

使用这个

 <table class="table table-bordered table-condensed table-responsive" style="display:table">

关于html - 卡内 Bootstrap 4 表的问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55029384/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com