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 CSS Foundations Values and Units Numeric and Textual Data Types

Using 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%; }

What error message do you get?

9 Answers

Change your second challenge to background-image instead of content.

There'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.

It says:

Bummer! Check the length unit in your CSS value.

I am lost on this one, sorry! It did work for me when I tried it though.

This 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%; }

The only thing I see is no quotes on your url() for the second challenge... but thats it..

I have url(img/bg.jpg)

The first two passed.

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

Try 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.

Also, it could be that the second challenge should say ```.wrapper { background-image: url('img/bg.jpg');} not content...

Still

Bummer! Check the length unit in your CSS value.

strong { color: initial;}

.wrapper { content: url('img/bg.jpg');}

p { width: 50%; }

How so you submit a bug report?

before you do that change your second challenge to background-image instead of content.

Timothy 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

Nice that fixed it. Don't know why it passed the other way.

:) Success!! Glad to hear! I don't know either, just a glitch in the system I suppose!

Remove the width code from div. This work for me.