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

Alpha + Omaga Classes

For some reason this is just not sinking in.

Does the Omega Class exist to ensure that nothing floats to the other side alongside the elements you have placed on your site?

So the Alpha bumps the Element to where you want it and the Omega ensures that another Element such as ELEMENT_2 below does not float up and alongside ELEMENT_1.

<ALPHA><ELEMENT_1><OMEGA>

<ELEMENT_2>

Is this about right?

1 Answer

In boilerplates like Twitter Bootstrap, the alpha and omega class alter the left and right margin (respectively) of the element. Most grid systems have a "gutter", or margin to either side of an element, but this causes issues on the first and last div. So the alpha and omega classes correct this issue.