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!
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

Aurelian Spodarec
7,369 Pointsbackground-attachment:; does not allow a background image to scroll with the content on the page.
I looked even in w3School and i didnt find an explanation to this question.
Q.background-attachment:_________; does not allow a background image to scroll with the content on the page.
Can somebody help me with this and explain it please
3 Answers

Christian Frick
14,585 PointsThe answer is fixed ;)

Michelle Pepe
Courses Plus Student 6,125 PointsQ.background-attachment:local_____; does not allow a background image to scroll with the content on the page.

Aurelian Spodarec
7,369 PointsIts not local , its fixed

Michelle Pepe
Courses Plus Student 6,125 PointsIt's local. local:The background scrolls along with the element's contents fixed:The background is fixed with regard to the viewport

Aurelian Spodarec
7,369 PointsI dont really understand what you mean

Michelle Pepe
Courses Plus Student 6,125 PointsAurelian,I thought so too. when I had typed fixed on the question, it was marked incorrect. I had typed local and it was marked correct and completed since it was the last question. Here's another forum post on this particular question. https://teamtreehouse.com/forum/backgroundattachment

Aurelian Spodarec
7,369 PointsIt accepted fixed . BDW if you want something to stay all the time in the position in the same place where u put it , you make it fixed . And as i said i wrote fixed and it was correct .
Aurelian Spodarec
7,369 PointsAurelian Spodarec
7,369 Pointsoh i spelled it wrong ;d i know all now xd thanks for helping