ron zisman wrote: >On Dec 20, 2005, at 8:57 AM, Gunlaug Sørtun wrote: > > > >>A quick look at specs: >><http://www.w3.org/TR/CSS21/visuren.html#q15> >>...will give you the rule(s) for _containment_ which in your case might >>be a simple 'display: table' on #outer. >> >> >disply:table... i'm not using any tables : ). where does this come from >and what does it do? > > > >>Of course, a few more, strategically placed, 'display: table;' will >>solve that even if you like to keep those 'height'. It's all in those >>CSS specs. >> >> > >again, is display:table a hack???? sorry to be so dense. > >
No, it's a perfectly valid display value, just like block, inline, etc. It makes divs act like tables, which can be helpful sometimes. In this case, it helps you contain your floats. Zoe -- Zoe M. Gillenwater Design Services Manager UNC Highway Safety Research Center http://www.hsrc.unc.edu ______________________________________________________________________ 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/