Twitter Bootstrap Horizontal Form to Vertical Form on different viewports -


horizontal form

form above looks great on desktop version on tablet , mobile, marketing needs these labels (name, sku & id) on top , text boxes (name, sku & id) on bottom. bootstrap provides classes or tweaking that? appreciated guys. thx.

following bootstrap css,

<div class="text-left">     <div class="span12">  <div> <h3 id="header">list of active products</h3> </div>        <div class="row-fluid control-group form-inline"> <div class="span3"> <label for="productname">name:</label> <div class="input-append"> <input type="text" class="input-small search-query" placeholder="name..." id="productname" /><a href="#"><span class="add-on"><i class="icon-search icon-  white"></i></span></a> </div> </div> <div class="span3"> <label for="productsku">sku:</label> <div class="input-append"> <input type="text" class="input-small search-query" placeholder="product sku..." id="productsku" /><a href="#"><span class="add-on"><i class="icon-search icon-white"></i></span></a>  </div>  </div>  <div class="span3">  <label for="productid">id:</label>  <div class="input-append">  <input type="text" class="input-small search-query" placeholder="id..."  id="productid" /><a href="#"><span class="add-on"><i class="icon-search icon-  white"></i></span></a>  </div>  </div>  <div class="span3 text-right">  <a href="/products/addproduct">+ product</a>  </div>  </div>  </div>  </div> 

not answer, may find helpful: user experience testing data seems support fact horizontal forms harder users use begin with. so, if need vertical forms mobile platform, consider using vertical forms no matter viewport size/type.

(that's not every field needs on own line, e.g. first/last name fields, that, majority of inputs, should flow top bottom, field labels on top of field inputs.)


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -