View Full Version : Floating Box with CSS only?
05-05-2010, 01:29 PM
Thanks in advance for any help, much appreciated.
05-05-2010, 02:16 PM
That's just an absolute postitioned box that is relative to their #wrapper.
border: solid 1px #DDD;
05-05-2010, 03:04 PM
Thanks Excavator, I'm doing just that but the box doesn't seem to stick to the top as the user scrolls down the page. As you can see on this site the sharebox sticks to the top as you scroll down, using only this css code you pointed out doesn't seem to have that effect...?
05-05-2010, 03:23 PM
Oops, there is some js acting on that #sharebox to recalculate the top:__px that I can't seem to find.
...sorry about that.
Would position:fixed; (http://nopeople.com/CSS/position%20fixed/index.html) work for what you're doing?
05-05-2010, 03:39 PM
Thanks, fixed kind of does it, but it doesn't provide that scrolling effect where it looks like it gets pushed down when you get to that point.
Perhaps this thread is better served on the js forum?
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.