Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

CSS

Benjamin Joyce
Benjamin Joyce
5,043 Points

Full height left navigation

I am trying to use a float layout system. The need is for all the blue boxes to be in their own section and float up against the yellow box(left nav).

My pen

The problem is if I put the "main" section in a container it will either screw up the grid system's gutters, etc. or just totally mess it up.

Anyone have any ideas? I can add more clarity around the challenge if necessary.

1 Answer

ok I haven't had a chance to look at the grid. But you need to see if the grid allow any nesting of rows. e.g in bootstrap i can go as,

<div class="row">
    <aside class="col-lg-4">
    </aside>
    <div class="main-content col-lg-8">
         <div class="row">
                 <div class="col-lg-4">
                 </div>
                  <div class="col-lg-4">
                 </div>
                  <div class="col-lg-4">
                 </div>
         </div>
    </div>
</div>

hope that helps to understand.