[thelist] Shrink wrapping a div?

Douglas Evolt at neuance.net
Fri May 14 10:03:48 CDT 2004


On Fri, 14 May 2004 09:38:41 -0500, Sam-I-Am <sam at sam-i-am.com> wrote:

> I didn't see a good answer to this.
> div { float: left; } will have the shrink-wrap effect you're looking for.

Not if you follow the specs, which say that floats have to have a set, or  
atleast implied, width.

I've not seen a good solution to the problem... though would like to see  
one!

Douglas


More information about the thelist mailing list