Log in

View Full Version : Half-fixed



Gmanvn
07-17-2007, 10:39 AM
Do you know how to make a half-fixed element?

Half-fixed term:
The element A within another one B.
By default A has position: fixed.
But when you scroll browser over the B element, A become static (maybe at the bottom of B). :D

It seems so crazy, just be my idea. Can you make it real?
Thanks

jscheuer1
07-17-2007, 02:34 PM
The browser is always over element B.

Gmanvn
07-17-2007, 03:31 PM
I mean A is always inside B.

jscheuer1
07-17-2007, 05:12 PM
I mean A is always inside B.

Right.

Gmanvn
07-18-2007, 10:16 AM
yes, but if it is fixed, when you scroll down, A is outside with B.
Do you understand me?

djr33
07-18-2007, 10:20 AM
So there's a floating element, within an outer element that acts as a boundary for its motion?

Gmanvn
07-21-2007, 04:22 AM
:) yes. But how

Sorry, I can't post reply for few days