I have been trying to get the text to properly align vertically with no luck. Could I get some assistance?
Here is the underlying code:
<div class="form-group">
<label class="control-label col-md-2">Permalink</label>
<div class="col-md-10">
http://www.somedomain.com/cart/@Model.Offer.Id
</div>
</div>
<div class="form-group">
@Html.LabelFor(model => model.Offer.DateCreated, new { @class = "control-label col-md-2" })
<div class="col-md-10">
@Html.DisplayFor(model => model.Offer.DateCreated)
@Html.ValidationMessageFor(model => model.Offer.DateCreated)
</div>
</div>
Per Bootstrap docs, you can use <p class="form-control-static">[email protected]</p>
to properly align static text in form groups.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With