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

I'm having some trouble with my inline-block layout (codepen included).

I decided to practice my inline-block layout skills, and for some reason my image in the primary section has pushed my text right out of the section "box" as you can see.

I was messing around with the sticky footer height on line 13 of my code pen. If I can the height property value to say, 125%; the height does grow. For instance, to get the text to fit inside the box I change the height property value to 138%.

Is there a better way to work around this, rather than changing the height property value, or is this the only way to fix the height? Thank you in advance for any help.

(codepen) http://codepen.io/mike316/full/PqbRVb/

I fixed it, and have since deleted the codepen.

1 Answer

I fixed it, and have since deleted the codepen.