On Wednesday 08 March 2006 23:21, Alan Chandler wrote:
> On Wednesday 08 March 2006 20:22, Zoe M. Gillenwater wrote:
> > Alan Chandler wrote:
> > > As far as I see, if you don't specify a width divs expand outwards to
> > > fit in the available space.  Is there any trick I could use to give a
> > > shrink wrap effect - where a div shrinks to the size of the inner
> > > elements + padding?
> >
> > Floating the div produces a shrinkwrap effect in almost all browsers.
> > Changing its display type to table-cell will also do this in browsers
> > that support table-related display values.
>
> Unless I have made a silly mistake somewhere,  

There was a silly mistake.  An Extra <dd> at the end.

-- 
Alan Chandler
http://www.chandlerfamily.org.uk
Open Source. It's the difference between trust and antitrust.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to