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
Paul Murphy
6,162 PointsBackground Textures
Hi Guys,
Having issues getting my background texture included outside of my containing <div>
It's bugging me where I am going wrong my css is:
body {
background-image: url("images/pool_table.png");
background-color: #efefef;
background-repeat: repeat;
}
.container {
width: 1100px;
height: 1000px;
background-color: #fff;
margin: auto;
box-shadow: rgba(0, 0, 0, 0.298039) 0 0 15px;
border-radius: 5%
}
h1 {
float: right;
font-size: 2em;
padding-right: 10px;
}
.test {
width:800px;
height: 400px;
background-color: red;
margin: auto;
}
1 Answer
Paul Murphy
6,162 Pointssolved this one before the url I needed to add "../images etc