dynamic element positioning

Posted by Ahmet vardar on Stack Overflow See other posts from Stack Overflow or by Ahmet vardar
Published on 2010-06-14T10:53:51Z Indexed on 2010/06/16 17:02 UTC
Read the original article Hit count: 152

Filed under:

Hi,

I have been seeing this thing for months and years and i really wanna know how to do that one.

For example, there is an element in the middle of the page. and it is in absolute position. When scroll downs and comes to that element, it becomes fixed positioned and follows the scroll, when scroll up and back to middle of the page it becomes absolute again.

I can give google adwords accounts page as an example, in the campaigns page, your keywords' header is the same thing.

how to do that one ?

thanks

© Stack Overflow or respective owner

Related posts about css