Previous Message
Next Message

floats on both left and right side in FF

Sent by Bruno Fassino on 14 January 2005 10:10


Stephen Rider wrote:

> (In theory...) An object that is floated has the same vertical position
> it would have were it not floated.  Float merely shifts it to one side
> or the other.

Sorry for the nit-picking... The above is probably useful to help grasping
as floats work, but (exactly as any other attempt to explain floats in few
words) is not 100% correct.
Two sibling floats are displayed one below the other when there is no
sufficient horizontal space to have them side by side, so a float may go
down (have a lower vertical position than it would have were it not
floated.)
The specs needed nine rules to define the behaviour of floats, so any
attempt to oversimplify is dangerous :)

Bruno

______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: