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 trialJohn Lukacs
26,806 PointsBackground img in navbar pushing <a> link all the way to the right
.main-logo {
width: 164px;
height: 60pxpx;
text-indent: 100%;
white-space:nowrap;
margin-top: 8px;
background:url(john.png) no-repeat;
background-size:30%;
}
<a href="#" class="pull-left main-logo">JohnBow </a>
2 Answers
John Lukacs
26,806 PointsIt was the text indent property set to 100% I don't know why Guil included that percent
Iain Simmons
Treehouse Moderator 32,305 PointsNot sure if it's causing the issue you're having, but the value for the height
property has a typo, you've written px
twice:
height: 60pxpx;
John Lukacs
26,806 PointsJohn Lukacs
26,806 PointsI am using bootstrap for this and do have the pull-left class. When I remove the overflow the link displays on the right hand side