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

HTML Build a Simple Website Creating a Website Structure Using Classes

Sean Metcalf
Sean Metcalf
1,631 Points

Omega Class

Still trying to understand the intent of the "Omega" Class in the video. When the video mentions that the Omega clears out the margin – what specifically is the margin and where does it come from? Is the margin the 20px gutter? And is this 20px gutter needed to be eliminated so that the content can fit on the same line?

Thanks in advance for your help!

-Sean

3 Answers

Brendan O'Brien
Brendan O'Brien
9,066 Points

It has to do with the grid being used for that first site. You are right that it has to do with the gutters. The alpha and omega are used on the ends of the grid to get rid of the respective margins. There are a lot of other grids out there that don't rely on that kind of class usage.

Sean Metcalf
Sean Metcalf
1,631 Points

Brendan O'Brien – gotcha. Thanks for your help Brendan.

Sean Metcalf
Sean Metcalf
1,631 Points

Brendan O'Brien – gotcha. Thanks for your help Brendan.