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 trialVictor Naiff
619 PointsWhen 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
Andy V
19,406 PointsYour first thought is right, the 'white' on the images you included is actually transparent.
Christine Rose
6,745 PointsPlease 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
619 PointsJust did. Thanks for the advice.
Yaroslav Kleshchev
8,744 PointsYour image might be transparent.
Victor Naiff
619 PointsVictor Naiff
619 PointsOh, all right then. TYVM.