title: Bootstrap form styling within modal window
body: <p>I have stuck with that for a while. I have a bunch of inputs within my modal window to create a season. But it is still not responsive (looks very bad on smaller screens).</p>
  
  <p>Also those two buttons should be on the right side of the well. I tried things like "pull-right" class or "float left" and absolute position but then they are always cross the grey background. How can I fix that? </p>
  
  <pre><code>&lt;div class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"&gt;
  &lt;div class="modal-dialog" role="document"&gt;
  &lt;div class="modal-content"&gt;
      &lt;div class="modal-header"&gt;
          &lt;button type="button" class="close" data-dismiss="modal"&gt;&amp;times;&lt;/button&gt;
           &lt;h3 class="pull-left"&gt;Seasons&lt;/h3&gt;
      &lt;/div&gt;
  
    &lt;div class="modal-body" style="position: relative;"&gt;
  
      &lt;div class="well"&gt;
          &lt;div class="row" style="width: 80%; margin: 0;"&gt;
              &lt;div class="col-sm-6"&gt;
                  &lt;span class="bold"&gt;Season name&lt;/span&gt;
                  &lt;input type="text" placeholder="e.g. High season"&gt;
              &lt;/div&gt;
              &lt;div class="col-sm-3"&gt;
                  &lt;span class="bold"&gt;From&lt;/span&gt;
                  &lt;input type="date" style="font-size: 1.23rem;  display: inline-block;"&gt;
              &lt;/div&gt;
              &lt;div class="col-sm-3"&gt;
                  &lt;div style="margin-left: 40px;"&gt;
                  &lt;span class="bold"&gt;To&lt;/span&gt;
                  &lt;input type="date" style="font-size: 1.23rem;display: inline-block;"&gt;
                  &lt;/div&gt;
              &lt;/div&gt;
          &lt;/div&gt;
              &lt;br&gt;
              &lt;button type="button" class="btn btn-default" data-dismiss="modal" style="position: absolute; right: 50px;"&gt;Close&lt;/button&gt;
              &lt;button type="button" class="btn btn-primary" style="position: absolute; right: 20px;"&gt;Save&lt;/button&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>
  </p>
  
  <p>And code online goes here: <a href="http://www.bootply.com/ojhdwC4y4x#" rel="nofollow noreferrer">http://www.bootply.com/ojhdwC4y4x#</a></p>