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
David Holman
753 PointsWhy does the link go all the way across the page?
When I add the contact links (phone, email and twitter) the links go all the way across the page. It seems the links would only be active on the icons and words.
1 Answer
Alex Goretoy
19,563 Pointstry adding this property to the links' css definition
a{ display: inline; }
perhaps, it is going all the way across the screen because it has become a block level element some how.
David Holman
753 PointsDavid Holman
753 PointsThanks, that worked. I did have display set to block.
Alex Goretoy
19,563 PointsAlex Goretoy
19,563 PointsCool! Great to hear.
This is my first answer on here :)