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


Making an element span 100% of the page while using a responsive grid system.

I'm using the unsemantic framework.

Will I need to edit the framework to achieve this? Or should I create this 100% div outside of the container div? The div that I want to span 100% of the window is a menu div, so I want it to span 100% of the window, but I want the menu items inside it to conform to the grid system.

What's the best way to go about this? Putting the menu items inside the grid and then using minus padding to get it in?

Thanks a lot.

1 Answer

Shivam Bhalla
Shivam Bhalla
Courses Plus Student 5,035 Points

Use position absolute on fullWidthDiv

<div id="someGridSystem">
    <div id="fullWidth">
        <div id="someGridSystem"></div>

#fullWidth {

Take a look at THIS for a better example: