On Dec 22, 2007 6:26 PM, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote:

> Either you had a margin-top in there, or the software you got that
> outline from is broken beyond repair.
>
> A more direct approach...
> <http://www.gunlaug.no/tos/alien/jer-1/test_07_1222.html>
> <http://www.gunlaug.no/tos/alien/jer-1/test_07_1222-b.html>
> ...shows clearly how the floats line up.

You are completely right. Apparently the FF web developer toolbar renders
the boundaries wrong. When using a custom background color you can see
it works.

> As you can see, the line-height is a fixed "12px" - inherited from
> #details-container, so with a font-size of 20px the text overshoots its
> own line and indeed the entire float.

Good point, fixed that to. Everything is working as expected now, thanks.

I did however stumble upon something else (for another part of the webpage);
It seems when you have a container and floats inside them, the container
does not stretch to the size of the floats. Is there a way to overcome
that problem without specifying the sizes explicitly?

Sample code: <http://test.intellit.nl/floats.html>.

Thanks again!

-- 
Jeroen
______________________________________________________________________
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/

Reply via email to