Georg, I'm intrigued by your example and have wanted that behaviour several
times in the past and couldn't figure a way to achieve it without fixed height
divs.
But from your test page there's a bit of css that I don't understand:
.floating {
float-:left;
width:140px;
margin:1em .5em 0 0;
border:1px dashed #ccc;
display: inline-block;
vertical-align: top;
}
In your float declaration, if one removes the hyphen after the word 'float' the
page ceases to behave in the desired way.
On the other hand, if 'float-' is a mistype (and doesn't exist as a
declaration) then there is no float declaration and the whole thing depends on
display: inline-block;
Is that right?
I wonder how far back inline-block is supported. When you say 'obsolete
browsers', are you referring to IE6 and IE7?
Peter
> El 27/07/2012, a las 01:43, Georg escribió:
>
> ...an if you don't bother to test this old float-alternative at your end,
> here are a few examples.
>
> http://www.gunlaug.com/contents/test/test-floating-boxes.html
> http://www.gunlaug.com/contents/test/test-floating-boxes-c.html
> http://www.gunlaug.com/contents/test/test-floating-boxes-r.html
>
> I can't be bothered to debug obsolete browsers, so others will have to
> include the old fixes for those - if they like.
>
> regards
> Georg
>
______________________________________________________________________
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/