Andy Harrison wrote: > On 2/8/07, Zoe M. Gillenwater <[EMAIL PROTECTED]> wrote: >> Switch your fixed div to absolute and it will do what you want. > > > And switch its containing block to position:relative. :-) > > Andy
I think what Rafael wants is for the object to be fixed compared to the viewport, but for its initial position to be determined in relation to its containing element, which could vary. I'm afraid you will need a combination of javascript and CSS for this, where javascript works out where the element should be positioned originally. PPK's blog achieves something similar with the navigation menus in the side colums, you might find your answers by looking at his code: http://www.quirksmode.org/blog/index.html Regards, Barney ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7 information -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/