我已经更改了thead内容的类,为它提供了一个边框,使其立即可见问题是什么,但这种情况发生在所有类中,没有类。我没有在任何地方申请过css,我希望让bootstrap能够为我完成大部分工作。
具体来说,我试图找到第一个<th>
这么久的内容。
<table id="selectedIngredientsTable" class="table-responsive">
<thead class="thead-inverse">
<tr>
<th>@Html.Label("Ingredient", htmlAttributes: new { @class = "control-label col-md-2" })</th>
<th>@Html.Label("Amount", htmlAttributes: new { @class = "control-label col-md-2" })</th>
<th>@Html.Label("Measurement Unit", htmlAttributes: new { @class = "control-label col-md-2" })</th>
</tr>
</thead>
然而,我是Bootstrap的新手,只是想知道是否有人知道这可能导致这种奇怪的行为......
我已经与检查员核对过,似乎找不到任何东西......
编辑:这是生成的HTML: