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
marsha spell
Courses Plus Student 5,555 Pointshelp plzz
Using a percentage, set the paragraph to half of its current width. here is what I have it should work idk why its not working
p { width: 50%; font-size: 75% } thanks!
12 Answers
Ricardo Diaz
30,415 PointsDid you add ";" to the end of font-size?
Ricardo Diaz
30,415 PointsI did this and it worked:
p { width: 50%; }
Just make sure all of the styles you did before are closed. I know it let me pass part two without closing the wrapper style.
Ricardo Diaz
30,415 PointsLike this:
p { width: 50%; font-size: 75%; }
Ricardo Diaz
30,415 PointsI was hoping it was that simple :)
Can you give me the link to what you are working on so I can take a look at the problem?
marsha spell
Courses Plus Student 5,555 Pointslike this
"font-size":
marsha spell
Courses Plus Student 5,555 Pointsyes I just tried it and its saying bummer
marsha spell
Courses Plus Student 5,555 Pointsok
marsha spell
Courses Plus Student 5,555 Pointsmarsha spell
Courses Plus Student 5,555 PointsChallenge task 3 of 3
donquixote
3,007 Pointswhen you set an element as a percentage, it becomes that percent of whatever is containing it. So the p tag might is becoming 50% of the element containing it, not necessarily 50% of what it was before.
donquixote
3,007 Pointsyou need to take out "font-size:75%"
marsha spell
Courses Plus Student 5,555 Pointsok I will try