Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

Jack Fitzgibbon
7,607 PointsNeed help with HTML and CSS code (Beginner level)
I have followed one of the deep-dive css tutorials; the class and id selector one. I have moved the "Back to top" link/href into the footer class, obviously going against the tutorial, but it seems it hasn't vertically centered or something like that. I was wondering if anyone reading this would know how to fix this.
Thank you, Jack

Jack Fitzgibbon
7,607 PointsHere's a link to the Code Pen: http://codepen.io/jackfitzgibbon/pen/midvq
3 Answers

Dave Thomson
3,157 PointsOr for brevity
padding: 50px 0;

Juan Jose Cortes Guzman
7,894 PointsHi, try to add a padding_bottom: 50px; to the .base class.
.base {
padding-top: 50px;
color: white;
text-align: center;
font-size: 24px;
padding-bottom: 50px;
}

Jack Fitzgibbon
7,607 PointsThank you both for the replies!
Jack Fitzgibbon
7,607 PointsJack Fitzgibbon
7,607 PointsHere's a link to the Code Pen: http://codepen.io/jackfitzgibbon/pen/midvq