[EMAIL PROTECTED] wrote: > Hmmm, I always thought that "auto" kind of carried the idea of > "shrink-to-fit"?
width:auto has much different meanings, depending on the value of other properties. For block, non replaced elements in normal flow [1] it roughly means: use all the available width of the containing block. So it is not a "shrink-to-fit". width:auto is associated with the "shrink-to-fit" idea only for: - floating elements, - inline-block elements, - absolutely positioned elements, but not always, for example not when both 'left' and 'right' are specified... - then there are table cells in automatic table layout... The situation is complicated. Having some specific values (fit-content, ...) for the width property to apply to 'normal' blocks would probably be useful. Bruno [1] http://www.w3.org/TR/CSS21/visudet.html#blockwidth -- Bruno Fassino http://www.brunildo.org/test ______________________________________________________________________ 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/