On 22 Dec 2005, at 10:08 am, Roger Roelofs wrote: > As Zoe said, you need a new 'block formatting context' All of the > following will do that > > float: left; > position: absolute; > display: table; > > But, all of these cause the container to 'shrink-wrap' Floating > .inside seems the most typical approach, but other approaches may be > better in your circumstances. There are always trade-offs...
Aditionally: * display:inline-block (not Gecko) * the overflow property (other than visible, the default). * display:table-cell (weak in Safari) Each have strengths and weaknesses. for IE win, you can also use 'hasLayout' winIE property (setting a width/height on the container). Philippe --- Philippe Wittenbergh <http://emps.l-c-n.com/> ______________________________________________________________________ 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/