At 12:47 PM 9/1/2005, Mark Lundquist wrote:
Hi Paul,
On Sep 1, 2005, at 12:23 PM, Paul Novitski wrote:
I was mentioning floating as an alternative method of shrinking blocks
I've always had the impression that floated blocks are supposed to have an
explicit width... can you explain? Or am I just hepped-up on goof balls? :-)
Mark,
You may be hepped up on goof-balls, but your memory seems intact -- people
often recommend that we assign an explicit width to a block that's floated
in many circumstances. However, doing so isn't (as far as I know) mandated
by the W3C spec and therefore isn't a requirement but rather a
recommendation by veteran developers when designing certain kinds of
layouts involving floats.
If you don't declare an explicit width, the floated block shrinks to the
minimum width required by its contents. I can't rattle off the
disadvantages of not declaring a width without digging, but perhaps our
other learned colleagues can.
Regards,
Paul
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
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/