Welcome to WebmasterWorld Guest from 54.144.72.150

Forum Moderators: not2easy

Message Too Old, No Replies

Fixed + absolute div

     
4:57 pm on Nov 26, 2011 (gmt 0)

New User

joined:Nov 26, 2011
posts:2
votes: 0


Hi all,

Looking for a css way to have a div with a certain distance from the top of page, say 50px, before scrolling down and then, once you start scrolling down, it gets position:fixed; to the very top of page
12:08 pm on Nov 29, 2011 (gmt 0)

New User

joined:Nov 26, 2011
posts:2
votes: 0


The social buttons on this page are an example

[slate.com...]
4:08 am on Nov 30, 2011 (gmt 0)

Junior Member

5+ Year Member

joined:July 30, 2009
posts: 130
votes: 0


I think you're going to have to use javascript for that.