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 trialLouis Levine
4,661 PointsHello, the rule hyphens: auto; doesn't work no matter what, could someone please explain why?
I even checked Anwar's complete HTML/CSS file by inspecting it with device toolbar and yet it still doesn't show hyphens. Could there be something wrong with my browser? Thanks.
3 Answers
Anwar Montasir
Treehouse TeacherHi Tuvia,
According to Can I use... older versions of Chrome don't support hyphens
on platforms other than Android and Mac, so it might depend on the browser and machine you're using.
Jordan Davis
7,696 Pointsi managed to get the hyphens to work on my google chrome browser, using the follow along code provided in the video. pretty sure my browser is up to date but it all worked fine.
without seeing your code its hard to say what the problem could be.
Louis Levine
4,661 PointsUnfortunately, neither answer worked but I know for a fact it has something to do with my machine/browser so I'm not too worried. Thanks Guys!
Thomas Bathurst
1,576 PointsIf it makes you feel any better, it doesn't work on my machine/browser either. I have tried using both up to date versions of Chrome and Edge, same result on both, even though according to the Can I use... website linked above, they should both be compatible.
Darrin Fagley
12,432 PointsDarrin Fagley
12,432 PointsCould be the size of your browser window, if it is big enough that all the lines are fitting on the same line there would be no hyphens. Have you tried viewing it at different screen sizes?