【发布时间】:2020-01-15 17:32:40
【问题描述】:
我有一个表在 Internet Explorer 上向右偏移,但以其他浏览器(Edge、Firefox、移动)为中心。我正在使用引导程序,但在查找 IE 中的对齐方式时遇到问题。
<div class="container body-content body-padding">
<div class="row">
<div class="col-auto">
<p class="breadcrumbs">
<a href="index.html" class="">Home</a> /
<a href="#" class="">Services</a> /
<a href="#" class="">Rates</a>
</p>
</div>
</div>
<div class="row row-spacing-reduced">
<div class="col">
<hr>
</div>
</div>
<div class="row">
<div class="col text-center">
<h1 class="spage-header mt-5">Rates</h1>
</div>
</div>
<div class="row mt-5 justify-content-center">
<div class="col rates-col">
<table class="table table-striped">
<thead>
<tr class="table-info">
<th scope="col">Service</th>
<th scope="col">Charge</th>
</tr>
</thead>
<tbody>
<tr>
<td>Lots of rows</td>
<td>Condensed version</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="row justify-content-center">
<div class="col rates-col">
<p class="spage-text no-padding">....</p>
<p class="spage-text mb-5">....</p>
<h3 class="spage-subheader no-padding">Our Guarantee</h3>
<p class="spage-text no-padding">...</p>
</div>
</div>
</div>
【问题讨论】:
-
你测试的是哪个版本的IE?
-
这是 Internet Explorer 11
标签: html css bootstrap-4