Sent by Gary Ross on 17 January 2005 16:04
> S'okay. This is a nit-picky topic. :)
Ain' that the truth :-)
> If the unfloated object has a specified width, it will move down just
> as the floated object you describe. (um... i think...)
Do you mean an UNfloated object goes under the floated object if it has
specified width?
> Your statement is correct only because floats must have width
> specified, whereas non-floats don't, necessarily.
I seem to remember that although floats must have widths specified, all
browsers shrink them as small as possible if not. This in fact turns
out to be fairly desirable, and so it is standard in CSS2 (I think)-
i.e. float width tends to zero. What does this actually mean with words
is anyone's guess. But it is useful if you have only one word in your
float like a menu! I hope that common sense will prevail here -
especially when you consider languages like Japanese have no spaces
between words. Like
This is a float
RATHER THAN
This
is
a
float
This is how I like to visualize floats, and it seems to work:
A float:left starts on the right, and *floats* as high as possible, but
not any higher than any previous floats, then moves horizontally left
until it bumps into something! This may not work perfectly, but I can't
imagine putting together a design where I'd need anything more
complicated :-)
Gary
______________________________________________________________________
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/