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 trialRandy Crowson
2,531 PointsUsing a percentage, set the paragraph to half of its current width.
What is wrong wit this?
strong { color: initial;}
.wrapper { content: url('img/bg.jpg');}
p { width: 50%; }
9 Answers
Timothy Crandall
4,354 PointsChange your second challenge to background-image instead of content.
Ricardo Hill-Henry
38,442 PointsThere's nothing wrong with that. I went through the questions a moment ago, and it worked fine. Try refreshing the page, or changing the way you formatted it. It may be searching for a bracket in a certain spot, or the width property on a certain line.. Who knows.
Randy Crowson
2,531 PointsIt says:
Bummer! Check the length unit in your CSS value.
Timothy Crandall
4,354 PointsI am lost on this one, sorry! It did work for me when I tried it though.
Randy Crowson
2,531 PointsThis all 3 answers together and I can't go forward with lessons. Stuck on this one:
strong { color: initial;}
.wrapper { content: url(img/bg.jpg);}
p { width: 50%; }
Timothy Crandall
4,354 PointsThe only thing I see is no quotes on your url() for the second challenge... but thats it..
Randy Crowson
2,531 PointsI have url(img/bg.jpg)
The first two passed.
Timothy Crandall
4,354 PointsYou should have quotes when you use url('img/bg.jpg');
I don't know why that would affect the last challenge though. Maybe try changing that, and see if somehow that works... best of luck!
Ricardo Hill-Henry
38,442 PointsTry going back and adding the single quotes into it. It's weird that it worked, because I do believe they are needed. Afterwards, try the last one again. If it doesn't work, submit a bug report.
Timothy Crandall
4,354 PointsAlso, it could be that the second challenge should say ```.wrapper { background-image: url('img/bg.jpg');} not content...
Randy Crowson
2,531 PointsStill
Bummer! Check the length unit in your CSS value.
strong { color: initial;}
.wrapper { content: url('img/bg.jpg');}
p { width: 50%; }
Randy Crowson
2,531 PointsHow so you submit a bug report?
Timothy Crandall
4,354 Pointsbefore you do that change your second challenge to background-image instead of content.
Ricardo Hill-Henry
38,442 PointsTimothy Crandall yeah! I didn't catch that. When I went through I used background-image opposed to content.
If that doesn't work you can submit here http://teamtreehouse.com/support
Randy Crowson
2,531 PointsNice that fixed it. Don't know why it passed the other way.
Timothy Crandall
4,354 Points:) Success!! Glad to hear! I don't know either, just a glitch in the system I suppose!
Courtland Santos
1,390 PointsRemove the width code from div. This work for me.
Timothy Crandall
4,354 PointsTimothy Crandall
4,354 PointsWhat error message do you get?