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

Derek Goodwin
7,758 Pointshow do i make my border a repeating image instead of a color
how do i make my border a repeating image instead of a color? html{ font-size:10px; font-family: 'Roboto Slab', serif; background-color: #001; } h1{ font-size: 60px; text-align: center; } p,li{ font-size:16px; line-height:2; letter-spacing:1px; } body{ width:600px; margin:0 auto; background-color: #fff; padding:0 20px 20px 20px; border: 5px solid black; } h1{ margin:0; padding: 20px 0; color:#001; text-shadow: 3px 3px 1px black; } img{ display:block; margin border-image:("images/codeblack.png") repeat;}
6 Answers

Cindy Lea
Courses Plus Student 6,497 PointsYou may have to have a class:
#borderimg {
border-image: url(border.png) 30 round;
}

Derek Goodwin
7,758 Pointswhat is the url(border.png) border.png is suppossed to be my exact image which is called named codeblack.png what do i put in place of the url

Derek Goodwin
7,758 Pointswhat is the url(border.png) border.png is suppossed to be my exact image which is called named codeblack.png what do i put in place of the url

Derek Goodwin
7,758 Pointsand are you saying add this to the code i have

Cindy Lea
Courses Plus Student 6,497 PointsJust replace the filename I gave you with the name of yours & add this class in your code

Derek Goodwin
7,758 PointsDidnt work