> From: li...@webstandardsgroup.org [mailto:li...@webstandardsgroup.org] > On Behalf Of Jody Tate > Sent: Wednesday, February 10, 2010 2:05 PM > To: wsg@webstandardsgroup.org > Subject: Re: [WSG] the mysteries of overflow: hidden > > Exactly. The magic confounds me. > > http://staff.washington.edu/jtate/overflow.html > > (I threw together the above example quickly. (Yes, embedded styles are > a no-non, but it was easy to do in this situation.)
What overflow does is that it creates a "block formatting context". Any value besides "visible" will work. I wrote something about containing floats without structural markup [1]. Check the demo page [2] to see how various techniques work and how triggering hasLayout is very similar to creating a block formatting context. This technique can even be used as a tool to create robust layouts [3]. [1] http://tjkdesign.com/articles/clearing-floats_and_block-formatting_context.a sp [2] http://tjkdesign.com/articles/block-formatting_context/newBFC.asp [3] http://www.ez-css.org -- Regards, Thierry | www.tjkdesign.com ******************************************************************* List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm Help: memberh...@webstandardsgroup.org *******************************************************************