ビューフォームのページを水平に整列しようとしていますが、方法を理解できません。ここにそのページのスナップショットがあります。助けてください。たとえば、都市名と都市名は一致しません。どうやってやるの ?ブートストラップのアラインメントの問題
For example, the city and the city name are not aligned
<div class="well well-sm">
<h4>Contact Information</h4>
<div class="form-group">
@Html.LabelFor(model => model.MailingAddress, htmlAttributes: new { @class = "control-label col-md-2 " })
<div class="col-md-10">
@Html.DisplayFor(model => model.MailingAddress, new { htmlAttributes = new { @class = "form-control", placeholder = @Html.DisplayNameFor(m => m.MailingAddress) } })
</div>
</div>
</div>
コードを記載してください。 –
CSSのスタイルを上書きする場合は、それも含めてください。 –
私はCSSスタイルをオーバーライドしませんでした。ここに私のコードはあります: – User123