css - Html select is not respecting margin -


here quick example:

fiddle

enter image description here

as can see in image above, labels, tables aligned margin inside th container(green margin) select seems go on it, see on css has 15 padding, padding text inside.

<%--modules--%>         <div class="col-md-6 col-sm-12" id="prueba">             <div class="row">                 <label class="col-xs-12">módulos</label>                 <select class="col-xs-12" multiple="multiple" id="cbomodulos" name="cbomodulos">                 </select>             </div>         </div> 

same thing happens textbox in right, bet same case.

thanks

if column want show inside class="row" class="col-anything-12" (mind 12) in cases don't need either class="row" or class="col-xs-12".

other that don't set col- class on select element directly. wrap inside div , add class div.


Comments

Popular posts from this blog

twig - Using Twigbridge in a Laravel 5.1 Package -

jdbc - Not able to establish database connection in eclipse -

Kivy: Swiping (Carousel & ScreenManager) -