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 trialJoshua Cook
2,073 PointsFinishing the CSS - Copyright Alignment Issues
Hi guys,
I've just finished up the Finishing the CSS video, but I'm having problems with the copyright alignment. Instead of aligning centrally like in the video, my copyright is aligning to the right, heading off the far side of the screen.
I've read through my code numerous times, and I can't seem to find any mistakes I've probably made.
Any help you guys can provide would be much appreciated.
Joshua Cook
2,073 PointsHere's a link for CodePen, I hope it works ok!
Joshua Cook
2,073 PointsI've just noticed it's perfectly central in the codepen, but not when I view the index.html in my browser (Google Chrome). How weird.
Diego Lucero
10,588 Pointstry clearing your cache (ctrl+shift+delete). It may still be loading old CSS stylesheets.
Diego Lucero
10,588 PointsIt actually looks like you are missing a div. Also, several of the divs are not semantic in the markup section. They are out of alignment.
Joshua Cook
2,073 PointsThank you so much Diego! I'm still getting used to finding my way around this stuff, as it's all pretty new for me.
Diego Lucero
10,588 PointsNo problem! Most of code is learned by trial and error, because, i believe, because concepts are not normally clear or concrete until we can define the barriers of a concept or of an idea.
I know I learn through making mistakes first, and then by figuring out how to fix them. Once I fix a mistake, that by itself helps me to avoid making that mistake again in the future.
And my life is full of mistakes! lol
1 Answer
Diego Lucero
10,588 PointsAh! I think I found the problem. you have a <div/>
as opposed to a </div>
on line 57. That may fix your rendering problem.
Diego Lucero
10,588 PointsDiego Lucero
10,588 Pointscan you provide a link to the page or perhaps place the code into a code pastebin like codepen.io, so we can see the problems that you are having?