title: Not able to apply allignment for Controls in MVC Razor view using Bootstrap 3
body: <p><strong>Problem Statement:</strong> </p>
  
  <p>In one of my edit view I want make textbox as disabled, so for this i'm using <strong>DisplayFor</strong> instead of <strong>TextboxFor</strong>. But when I use Displayfor, alignment is not coming properly. You can see images attached for your reference. I'm using <strong>Bootstrap CSS 3.0</strong></p>
  
  <p><em>Any help would be appreciated. What inline CSS I should use to align properly??</em></p>
  
  <p><strong>Image1:</strong> In this image you can see that Acquire Status ID label and <strong>Textboxfor</strong> properly aligned.
  <img src="https://i.stack.imgur.com/2FV43.png" alt="enter image description here"></p>
  
  <p><strong>Image2:</strong> When I use DisplayFor instead of Textboxfor, Acquire Status ID label and Displayfor are not aligned properly.</p>
  
  <p><img src="https://i.stack.imgur.com/OgaET.png" alt="enter image description here"></p>
  
  <p><strong>View:</strong></p>
  
  <pre><code>&lt;div class="form-horizontal"&gt;
          &lt;hr /&gt;
          @Html.ValidationSummary(true)
  
          &lt;div class="form-group"&gt;
              @Html.LabelFor(model =&gt; model.AcquirestatusID, new { @class = "control-label col-md-2" })
              &lt;div class="col-md-10"&gt;
                  @Html.DisplayFor(model =&gt; model.AcquirestatusID,new { @class = "form-control" })
                  @Html.ValidationMessageFor(model =&gt; model.AcquirestatusID)
              &lt;/div&gt;
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
              @Html.LabelFor(model =&gt; model.Name, new { @class = "control-label col-md-2" })
              &lt;div class="col-md-10"&gt;
                  @Html.TextBoxFor(model =&gt; model.Name, new { @class = "form-control" })
                  @Html.ValidationMessageFor(model =&gt; model.Name)
              &lt;/div&gt;
          &lt;/div&gt;
  
          &lt;div class="form-group"&gt;
              &lt;div class="col-md-offset-2 col-md-10"&gt;
                  &lt;input type="submit" value="Save" class="btn btn-default" /&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  </code></pre>