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 How to Make a Website CSS: Cascading Style Sheets What is CSS?

Victor Naiff
Victor Naiff
619 Points

When applying background-color to footer, the inner part of the logos became orange as well.

Why is it? Are the logos "transparent" or is it because their interior is the same color as the white background? Below is a modified version of the code used in the lesson, but one on which the same thing happens.

''' <!DOCTYPE html> <html> <head> <style> body { background-color: orange } </style> </head> <body> <img src="img/twitter-wrap.png">
</body> </html> '''

It's referenced image file is included here: http://treehouse-code-samples.s3.amazonaws.com/HowToMakeAWebsite/HowToMakeAWebsite-Stage4-Video1.zip

3 Answers

Your first thought is right, the 'white' on the images you included is actually transparent.

Victor Naiff
Victor Naiff
619 Points

Oh, all right then. TYVM.

Christine Rose
Christine Rose
6,745 Points

Please post your code so we can take a look at it. Be sure to wrap the code in backticks. See the Markdown Cheatsheet link below the Add and Answer box below.

Victor Naiff
Victor Naiff
619 Points

Just did. Thanks for the advice.

Your image might be transparent.