twitter bootstrap - HTML nested div outside of parent div -


i'm having issues divs appearing outside of parent div. happens when window on computer in full screen mode, when screen made smaller phone/tablet size divs function how should. in codepen used border colours distinguish when divs outside of parent div when they're inside parent div. http://codepen.io/markbond/pen/lvkpjg?editors=110

fullscreen

enter image description here

phone view

enter image description here

html

            <div class="ibox-content" id="ibox-9">                 <!--div body-->                 <div class="content active" id="budgetselection">                     <div class="col-lg-6">                         <label>budget scenerio</label>                         <div class="checkbox">                             <label><input type="checkbox" />50mill</label>                         </div>                         <div class="checkbox">                             <label><input type="checkbox" />100mill</label>                         </div>                         <label>table views</label>                         <div class="checkbox">                             <label><input type="checkbox" />table1</label>                         </div>                     </div>                     <div class="col-lg-6">                         <div class="radio">                             <label><input type="radio" />show treatments</label>                         </div>                         <div class="radio">                             <label><input type="radio" />show years</label>                         </div>                     </div>                 </div>             </div> 

you can give container-fluid class div body.

bootply link

<div class="content active container-fluid" id="budgetselection"> 

you can go clearfix fixes problem too.


Comments

Popular posts from this blog

html - Firefox flex bug applied to buttons? -

html - Missing border-right in select on Firefox -

c# - two queries in same method -