> > 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).

Thanks, that's exactly the information I needed.  I didn't know what
constituted a "new block formatting context", which makes it hard to do
that.  I wish there was an option "block-format: new;" or something.
O:-)

Roger - I agree, it seems my inside div is my best bet from what you
both say.  I need that outside content div just right for the other divs
I show/hide, and getting *that* layout working in different browsers was
fun...  Yeah, "fun"...  [PS: thanks Georg!]

Philippe - the browser check for the properties you gave will come in
handy and hopefully I'll be able to find one that displays well in them
all.  Fortunately I must have already triggered haslayout for IE, since
it's displaying just fine.  Whew.

Many thanks again,
cj
______________________________________________________________________
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/

Reply via email to