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 trialChristopher Jones
352 PointsHow do I get rid of the extra spaces that show up in my preview?
I have been following the training very closely, but for some reason, I will have extra spaces that show up in my preview, in between about and contact and after contact. I don't know how to fix the html so that I can get rid of them.
2 Answers
Gianni Zamora
9,547 PointsIf you have extra spacing you might have some space in the actual code <span>hello </span> will have 1 space after hello on your website but <span>hello</span> will have 0 space after hello making anything that comes after it directly next to it. look closely on your code and you might find this if not post code on here.
Richard Nicholls
1,301 PointsCan you show your code so we can diagnose the problem for you
Christopher Jones
352 PointsI got it to work now!:)
Christopher Jones
352 PointsChristopher Jones
352 PointsI got it to work now, thanks for the help:)