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 trialRiki Adams
2,631 PointsNo margin to the left of logo
I have just adjusted the logo for min-width: 660px. Here is what I have #logo { float: left; margin-right: 5%; text-align: left; width: 45%; } But my name and subtitle are still touching the left of the window and it seems like there is no margin at all.
4 Answers
Austin Barber
2,015 PointsTry margin-left: 5%, that should do it.
Austin Barber
2,015 PointsTry margin-left: 5%, that should do it.
Riki Adams
2,631 PointsThank you!
Austin Barber
2,015 PointsYeesh, did not mean to post that twice.
Aaron Graham
18,033 PointsIt looks like there is no margin at all on the left. Try adding either some padding-left or some margin-left. You could also try changing
margin-right: 5%;
to
margin: 0 5%;
that will give you even margins on the left and right.
Riki Adams
2,631 PointsThank you!