Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>You have to remember that <code>spanX</code> classes are implemented with percentages, so sometimes the edges will not align properly when putting multiple input areas in same row. So when you use a <code>span12</code> class, the members of that <code>div</code> might get warped.</p> <p>The labels are another concern in this multiple input per line scenario. They take 160px, so they are not compatible with <code>span12</code> input areas. They are best for one input per line and <code>span1-span10</code>.</p> <pre><code>&lt;form class="container-fluid"&gt; &lt;div class="control-group"&gt; &lt;div class="controls row-fluid"&gt; &lt;input type="text" class="span11" placeholder="Street" /&gt; &lt;/div&gt; &lt;div class="controls controls-row row-fluid"&gt; &lt;input type="text" class="span4" placeholder="Zip" /&gt; &lt;input type="text" class="span7" placeholder="City" /&gt; &lt;/div&gt; &lt;/div&gt; &lt;/form&gt; </code></pre> <p>I have added two more classes on your 2nd row, <code>controls-row</code> and <code>row-fluid</code> - first one aligns the rows together while the other makes the length fluid.</p> <p><strong>A better design decision will be to get rid of the labels - the placeholders already do their job - in case of multiple input areas on same row. That way you can use the entire 11 columns.</strong></p> <p>The horizontal scroll bar will appear sometimes due to the 12 column structure, so get rid of it by setting "overflow-x:hidden" right on the body element.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload