On 10 Dec 2008, at 19:42, Gunlaug Sørtun wrote: > Thijs van der Vossen wrote: >> Every so often I find myself in a situation where I would like to >> have a floating element that 'sticks' to the bottom of an enclosing >> element. > > Your last example seems easy enough, as it is simply a matter of > clearing the float below the static "even longer page title".
Yes, but then you _always_ get the float below the title. We're talking about a template where the length of the title can be very different from page to page. > Provide a page with the relevant elements and basic styling, and > we'll demonstrate a few options for you. (I'm to lazy/busy/whatever > to create demos today :-) ) There's now a demo at http://stuff.vandervossen.net/temporary/ demo.html and a screenshot at http://stuff.vandervossen.net/temporary/demo.png The examples with the black borders show the behaviour I'm after. >> This seems impossible to do with CSS, but I'd love to be proven >> wrong. ;) > > You may see more responsive floating-methods one day - maybe in > CSS4, but for now you'll have to rely on absolute positioning or > simple float-clearing. > > There are a few "push the float down" methods available - google > around, but most, if not all, of them have severe limitations. If you have any techniques you could point to, I'd be very grateful. I've been googling around for this, but I couldn't find anything useful. -- Fingertips - http://www.fngtps.com ______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d List wiki/FAQ -- http://css-discuss.incutio.com/ List policies -- http://css-discuss.org/policies.html Supported by evolt.org -- http://www.evolt.org/help_support_evolt/