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 trialarieloo
13,257 PointsI don't understand the following challenge ! I do everything right but it keeps asking if "width is set on 80% ?" HELP
I wrote this :
.container { width : 80% ; margin : 0 auto ; }
But it keeps saying that I did not set width on 80%... I can't be the only one having these bug, can I ??
1 Answer
KRIS NIKOLAISEN
54,971 PointsYour code appears correct. I just cleaned up the spaces and it passed.
.container {
width: 80%;
margin: 0 auto;
}
Rafael Castillo
Front End Web Development Techdegree Student 10,301 PointsRafael Castillo
Front End Web Development Techdegree Student 10,301 PointsI think it's the extra space between width/margin and the colon that makes his code incorrect, since your cleanup resulted in a passing score.