ダウンロードした Web テンプレートを使用しています。そこで、次のようなテーブルを定義します:- table class="table table-striped table-bordered bootstrap-datatable datatable">
<thead>
<tr>
<th></th> <th></th>
</tr></thead>
<tbody>
<tr>
<td class="center" >
@Html.LabelFor(model => model.AccountDefinition.ORG_NAME)
</td>
<td>@Html.DisplayFor(model => model.AccountDefinition.ORG_NAME)</td>
</tr>
<tr>
<td class="center">
@Html.LabelFor(model => model.AccountDefinition.LOGIN_URI)
</td>
テンプレートで.center
クラスを検索しましたが、insidethis 以外に .center への参照が見つかりませんでした
div.center,p.center,img.center{
margin-left: auto !important;
margin-right: auto !important;
float:none !important;
display: block;
text-align:center;
}
だから私は追加しました
font-weight:bold
上記のcssに次のようになります:-
div.center,p.center,img.center{
margin-left: auto !important;
margin-right: auto !important;
float:none !important;
display: block;
text-align:center;
font-weight:bold;
}
それでも、表のセルのフォントは太字になりませんか? それを修正する方法について何か考えはありますか?ブラジル