Sent by Syntactic: Jim Wilkinson on 29 November 2004 18:06
Thanks liorean and Zoe but I'm more confused than ever! I can see that
"shrinkwrapping" is an appropriate description if, say, the float contains
an image. But if it contains only text then shrinkwrapping would give the
float the width of the longest word, which would look silly. So I now have
doubts about the wording of the CSS21 change. In my simple
(non-exhaustive) test case Opera 7.54, FF1.0 and IE5.0 all give 100%
width, in line with CSS2.
I would expect CSS21-style behaviour to give a float width such that there
was a "suitable" apportioning of the total container width between the
float and the non-floated content alongside, whatever "suitable" might
mean.
Does anyone have an example page with CSS21-style float shrinkwrapping in
a particular browser, preferably a PC one so that I can look at it? Can
anyone throw more light on this? If not, I will want to stick to
specifying my float widths explicitly!
--
Jim Wilkinson
Cardiff, Wales UK
Opera e-mail client: http://www.opera.com/m2/
______________________________________________________________________
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/