This is the way I'd do it:
#infosarea {
position: relative; // this creates a positioned ancestor
padding-bottom: XXXpx; // enough space for #PartenairesArea
}
#PartenairesArea {
position: absolute; // puts it at the bottom of the first
bottom: 0; // positioned ancestor
}
// won't work with Mac IE - which messes up with 'bottom'!
djn
Sébastien FICHOT wrote:
> I'm wondering if someone knows how to force a DIV to stay at the
bottom of
> another DIV that contains it.
> The DIV "InfosArea" must have a non-flexible height, but the DIV
> "PartenairesArea" could be fixed height.
> I've done this code, but that's not really a solution :
--
-----------------------------------------
Dejan Kozina Web design studio
Dolina 346 (TS) - I-34018 Italy
tel./fax: +39 040 228 436 - cell.: +39 348 7355 225 skype: dejankozina
http://www.kozina.com/ - e-mail: [EMAIL PROTECTED]
______________________________________________________________________
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/