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

How can I manage divs in the div? (Specifically, organizing divs in a header)

Apologize if the question isn't specific enough. I'm trying to organize divs as so: https://wireframe.cc/Ria78t . However, I find that I can't make the div to the very left and inline-block, because it causes the topright div to stick to the same line, which pushes the other two divs out. If I try inline, I find it doesn't work unless I make the leftmost div inline, which removes its margin placing abilities. What kind of CSS would I need to place objects as seen above?

Thanks in advance!

1 Answer

Hi Luis,

I made a pen for you, you can check it out here.

Hopefully this is what you're looking for. If you have any questions, let me know!

Thank you, exactly what I was looking for!