Your answer is just what I want. I should say "Why text2 is not positioned
on the right
of text1?" .    Sorry for my poor english.   Thanks a lot.

On 8/27/06, Gunlaug Sørtun <[EMAIL PROTECTED]> wrote:
>
> ray wrote:
> > My question is: Why text2 is positioned on the right of text1?
>
> Did you really mean to ask: Why text2 is *not* positioned on the right
> of text1?
>
> If so, then the answer is that a float can not move upwards past the
> bottom of in-flow (non-floating and not-absolute-positioned) elements
> placed before it in the source-code.
>
> This means the floating 'text2' isn't allowed to go higher than bottom
> of the non-floating 'text1', and the vertical space between them is
> equal to 'margin-bottom of text1' + 'margin-top of text2'.
>
> Size (dimensions) of text1 - the fact that there's plenty of empty space
> available to the right of text1 - doesn't matter.
>
>
> Declare text1 as a float, and text2 can move up alongside of it.
>
>
> If you mean to ask something else about float-behavior, then you'll have
> to ask again - a bit clearer.
>
> regards
>         Georg
> --
> http://www.gunlaug.no
>
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- 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