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 trial

CSS

How can i do this

So i want to make something like "mixcloud.com" if you login and play a sound you know the player is on the bottom of the page and if you scroll down the player stays their and follows what you do how do i do that like how can i get the element to stay on the bottom of the page but follow what my browser does when i scroll?

1 Answer

This is called a fixed footer there is great example code at CSS-tricks

http://css-tricks.com/snippets/css/fixed-footer/

with an example at

http://www.flashjunior.ch/school/footers/fixed.cfm

Thank you :)

Glad to help! CSS-Tricks is a great site. One of the top for web design. I think treehouse interviewed the founder at one time.

Yes i forgot about the site but bookmarked it

Do you know how to make images side by side it. Like its not allowing me to add add any margin or display it block. It keeps going under the first image i put down in the footer

You could add

display:inline-block;

to both of the images.

If that does not work please submit this as a new question with your HTML and CSS code.