css - Only eleven coloumns fit in boostrap rows -


i have had problem in several occasions , cannot find reason.

i have container, row , few boxes (divs) in it. have 2 boxes in row, 1 side menu , 1 content. problem use column width of 10 content, pushed next row (9 fine) , 2 boxes won't stand side side (there of course contents in boxes). happens both normal , fluid containers.

<div class="container-fluid">     <div class="row">            <div id="module-menu" class="col-lg-2"></div>         <div id="content" class="col-lg-10"></div>     </div> </div> 

i checked of above divs (with firebug) see whether css file overrides (padding, margin etc.) on them, causing problem. apparently no property has been overridden on above divs.

could guess what's wrong , how can find problem?

instead assigning id's , classes columns make div inside of them. have clean grid system works.

<div class="container-fluid">     <div class="row">            <div class="col-lg-2">             <div id="module-menu"></div>             </div>         <div class="col-lg-10">             <div id="content"></div>         </div>     </div> </div> 

Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -