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!
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

asaf omri
Courses Plus Student 2,784 PointsI just can't get it, text doesn't flex with background
background is flexing with the page, but the text itself doesn't, it just goes out of the element div...
3 Answers

Tautvydas Banys
11,151 PointsI think you need to use those two properties-
clear: both; visibility: hidden;

asaf omri
Courses Plus Student 2,784 Pointshttp://www.tjbmiec.com/ look at the nav, it doesn't flex, it just goes down

Tautvydas Banys
11,151 PointsYou might to want to try this one. Give the parent element class .group and in css write this: .group:after { content: ""; display: table; clear: both; } It will clear any collapses .
Jonathan Grieve
Treehouse Moderator 91,243 PointsJonathan Grieve
Treehouse Moderator 91,243 PointsHi Asaf,
Could you post us some code so we can look at the problem for you?
Thanks. :) Jonathan