2

example: http://www.ehow.com/how_2196172_ping-mac-computer.html

As you can see the "helpful?" element is stuck in place even when you scroll the rest of the page. I'm not sure if this can be done with just css or needs js (preferably jQuery). How can this be done?

2 Answers 2

11

You have to fix the element position. Try something like this:

div#ID {
    position: fixed;
    bottom:10px;
    left:10px;
}

Hope it helps!

2

That is using position: fixed which positions an element with respect to the browser view port.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.