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]
*******************************************************************

Reply via email to