j t wrote:
> I still wonder, however, whether it's possible to do some kind of 
> bottom alignment when they're both floats, because then I'm 
> guaranteed that the two boxes will never overlap.

You can't bottom-align floats reliable.

The way I usually solve this is to declare a margin-right on the float,
so it can't go into the space occupied by the absolute positioned element.
Same example with suitable addition...
<http://www.gunlaug.no/tos/alien/test_07_3660.html>

The exact width (value and unit) of such a margin depends on
design-decisions, as it is possible to affect the absolute positioned
element's width and make it adjust to its environment (its parent).
This will indirectly make these two elements adjust to each other, 
giving you a near perfect visual illusion until the window gets really 
narrow or the text is made really large.
A bit more manipulation of those width and size relations, and it may 
become almost unbreakable.

regards
        Georg
-- 
http://www.gunlaug.no
______________________________________________________________________
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/

Reply via email to