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

HTML How to Make a Website CSS: Cascading Style Sheets Center the Wrapper

why haven't the images background color changed when they are included inside the div id?

https://teamtreehouse.com/library/how-to-make-a-website/css-cascading-style-sheets/center-the-wrapper

in this video it shows the text background color of the <p> tags changing when the images background doesnt change why not?

Hi Shakran,

Could you clarify your question? Are you referring to the orange background? Where were you expecting to see it but you didn't?

yes the orange background

Ok, so where were you expecting to see the orange background but you didn't?

Mladen Mladenow
Mladen Mladenow
10,745 Points

Images itself doesn't support background property. You can see the orange background of the parent div element, by applying images opacity lower than 1, for example "opacity : 0.3" ;)