wsg  

Re: [WSG] why do some divs shrink wrap and others don't [OT?]

Matthew Pennell
Thu, 27 Mar 2008 07:14:39 -0700

On Thu, Mar 27, 2008 at 5:07 AM, dwain <[EMAIL PROTECTED]> wrote:

> after my experience tonight i was wondering why some divs will shrink wrap
> their contents while others don't.  any takers?
>

Block level elements such as DIV will be 100% of the width of their parent
container, unless they are floated - in which case they can either have an
explicit width set via CSS, or they will shrinkwrap their contents.

-- 

- Matthew


*******************************************************************
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
*******************************************************************