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 trialCarianna Niska
549 PointsCSS code not changing border or height on image. Not sure what I did wrong.
1 Answer
Steven Parker
232,380 PointsI don't see any code in the CSS that would affect the height, but the border is not being applied due to a syntax error in the HTML. Instead of this (using a hyphen):
<div id-"intro">
It should be this (using an equal sign):
<div id="intro">
Carianna Niska
549 PointsCarianna Niska
549 PointsThat fixed it. Thank you so much!
Steven Parker
232,380 PointsSteven Parker
232,380 PointsCarianna Niska — Glad to help. You can mark a question solved by choosing a "best answer".
And happy coding!