Treehouse: Grow your CSS skills. Land your dream job. How do you do this?

  • # June 2, 2011 at 12:51 pm

    Hi there,

    When you visit the website and scroll down almost to the bottom, you’ll notice the “READY TO FORGE AHEAD?” block remains fixed in that position, while the content to the left continues to scoll down.

    How would you go about doing that? What’s that called?

    – Steph

    # June 2, 2011 at 1:43 pm

    Steph, the only fixed element I notice while scrolling is the tab attached to the left side, “Ask Us”. Using Chrome on XP…

    in CSS this is accomplished by using positioning…

    see this page:

    # June 2, 2011 at 1:43 pm

    They are using jQuery to change the CSS of that particular div when the scrolling reaches a certain point.

    You can see the JS here

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.