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

2008-03-27 Thread Matthew Pennell
On Thu, Mar 27, 2008 at 10:30 PM, dwain <[EMAIL PROTECTED]> wrote:

> yes, the pix were floated but the nav div was not.  i ran a test.  i
> removed the width declaration and floated the nav div.  when i check it in
> ff web dev toolbar the nav div did not shrink wrap or it's contents.


I just tried that on your site (removed the width: 30% and added float: left
to the #nav div) and it shrinkwraps the nav items as expected.

-- 

- Matthew


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

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

2008-03-27 Thread dwain
On 3/27/08, Matthew Pennell <[EMAIL PROTECTED]> wrote:
>
> On Thu, Mar 27, 2008 at 5:41 PM, dwain <[EMAIL PROTECTED]> wrote:
>
> > i had no width set on the nav ul or the nav div and they both went to
> > 100%.  the div didn't shrink wrap the div and ul.
>
>
> That would be correct behaviour, unless you are saying that they were
> floated.


yes, the pix were floated but the nav div was not.  i ran a test.  i removed
the width declaration and floated the nav div.  when i check it in ff web
dev toolbar the nav div did not shrink wrap or it's contents.

dwain


-- 
dwain alford
"The artist may use any form which his expression demands;
for his inner impulse must find suitable expression."  Kandinsky


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

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

2008-03-27 Thread Matthew Pennell
On Thu, Mar 27, 2008 at 5:41 PM, dwain <[EMAIL PROTECTED]> wrote:

> i had no width set on the nav ul or the nav div and they both went to
> 100%.  the div didn't shrink wrap the div and ul.


That would be correct behaviour, unless you are saying that they were
floated.

-- 

- Matthew


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

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

2008-03-27 Thread dwain
On 3/27/08, Matthew Pennell <[EMAIL PROTECTED]> wrote:
>
> 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.
>

i had no width set on the nav ul or the nav div and they both went to 100%.
the div didn't shrink wrap the div and ul.
dwain
-- 
dwain alford
"The artist may use any form which his expression demands;
for his inner impulse must find suitable expression."  Kandinsky


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

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

2008-03-27 Thread dwain
On 3/27/08, Joseph Ortenzi <[EMAIL PROTECTED]> wrote:
>
> is it on this page?
> http://www.alforddesigngroup.com/
>
>  yes
-- 
dwain alford
"The artist may use any form which his expression demands;
for his inner impulse must find suitable expression."  Kandinsky


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

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

2008-03-27 Thread Matthew Pennell
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]
***

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

2008-03-27 Thread Joseph Ortenzi

is it on this page?

http://www.alforddesigngroup.com/


On Mar 27, 2008, at 12:47, dwain wrote:

with my haslayout problem, the div around the pictures shrink  
wrapped while the nav div, containing a ul, and along with the ul  
sized to 100% of the wrapper.

dwain

On 3/27/08, Joe Ortenzi <[EMAIL PROTECTED]> wrote:
Please clarify dwain.

have you got two examples, one shrink-wrapping (??) the other not?

Do you mean one div will only be as large as the content within it  
and the other will retain a fixed size regardless of content?


Joe
On Mar 27 2008, at 05:07, dwain wrote:
after my experience tonight i was wondering why some divs will  
shrink wrap their contents while others don't.  any takers?


dwain

--
dwain alford
"The artist may use any form which his expression demands;
for his inner impulse must find suitable expression."  Kandinsky
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Joe Ortenzi
[EMAIL PROTECTED]
www.joiz.com



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



--
dwain alford
"The artist may use any form which his expression demands;
for his inner impulse must find suitable expression."  Kandinsky
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


==
Joe Ortenzi
[EMAIL PROTECTED]




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

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

2008-03-27 Thread dwain
with my haslayout problem, the div around the pictures shrink wrapped while
the nav div, containing a ul, and along with the ul sized to 100% of the
wrapper.
dwain

On 3/27/08, Joe Ortenzi <[EMAIL PROTECTED]> wrote:
>
> Please clarify dwain.
> have you got two examples, one shrink-wrapping (??) the other not?
>
> Do you mean one div will only be as large as the content within it and the
> other will retain a fixed size regardless of content?
>
> Joe
> On Mar 27 2008, at 05:07, dwain wrote:
>
> after my experience tonight i was wondering why some divs will shrink wrap
> their contents while others don't.  any takers?
>
> dwain
>
> --
> dwain alford
> "The artist may use any form which his expression demands;
> for his inner impulse must find suitable expression."  Kandinsky
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***
>
>
> Joe Ortenzi
> [EMAIL PROTECTED]
> www.joiz.com
>
>
>
> ***
> List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
> Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
> Help: [EMAIL PROTECTED]
> ***




-- 
dwain alford
"The artist may use any form which his expression demands;
for his inner impulse must find suitable expression."  Kandinsky


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

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

2008-03-27 Thread Joe Ortenzi

Please clarify dwain.

have you got two examples, one shrink-wrapping (??) the other not?

Do you mean one div will only be as large as the content within it  
and the other will retain a fixed size regardless of content?


Joe

On Mar 27 2008, at 05:07, dwain wrote:

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


dwain

--
dwain alford
"The artist may use any form which his expression demands;
for his inner impulse must find suitable expression."  Kandinsky
***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***


Joe Ortenzi
[EMAIL PROTECTED]
www.joiz.com




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

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

2008-03-26 Thread dwain
after my experience tonight i was wondering why some divs will shrink wrap
their contents while others don't.  any takers?

dwain

-- 
dwain alford
"The artist may use any form which his expression demands;
for his inner impulse must find suitable expression."  Kandinsky


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