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

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

oh i spelled it wrong ;d i know all now xd thanks for helping

Q.background-attachment:local_____; does not allow a background image to scroll with the content on the page.

Its not local , its fixed

It's local. local:The background scrolls along with the element's contents fixed:The background is fixed with regard to the viewport

I dont really understand what you mean

Aurelian,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

It 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 .