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!

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 trial

CSS How to Make a Website Styling Web Pages and Navigation Style the Portfolio

Why do my social icons float on the right side of the gallery instead of the bottom?

footer { font-size: 0.75em; text-align: center; padding-top: 10px; color: #ccc; }

Aimee Ault
Aimee Ault
29,193 Points

Hi Tung,

Can you post the code you're trying?

Michael Caveney
Michael Caveney
50,144 Points

Assuming that's the only code there, it's because you don't have a float set. Is there a universal float set, by any chance? We can't be of much help without seeing the entire document!

Nvm, thanks guys! The solution was in the next lesson, it was "clear: both;"