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 CSS Foundations Backgrounds and Borders Advanced Backgrounds

backgrounds and borders stage 7 background image position

are the desired position values the same for the challenge as they were in the lecture example? 50px 50px for the pencil image and 350px 200px for the smiley face image. that's how I put them under background-image but it keeps telling me to recheck my work.

1 Answer

Sreng Hong
Sreng Hong
15,083 Points

Hi Neil

With this Code Challenge, there is nothing to do with the size of the images. They just ask you to position it at the top-right and bottom-left, so you can use the keywords( top bottom left right) directly as the values.

For example:

background: url('img/pencil.png') no-repeat bottom left;

Hope this helps