This is a typical "clearing floats" issue.
Set:
#featured {
    overflow: auto;
    width: 100%
    ...actual rules...
               }

See: http://annevankesteren.nl/2005/03/clearing-floats for further 
information.

There are tons of fixes:
Make Google search for: 'Clearing floats'

PS: There isn't  attributes in the CSS sintax.
'height' is a CSS *property*.

The sintax for a CSS rule is:

selector { property: value;}
The pair property: value is called CSS *declaration*

Regards,


MaurĂ­cio Samy Silva
http://www.maujor.com/

----- Original Message ----- 
From: "List Red Rooster" <[EMAIL PROTECTED]>
To: <css-d@lists.css-discuss.org>
Sent: Thursday, March 29, 2007 4:37 PM
Subject: [css-d] floats inside a div


> http://www.redroosterweb.com/floats.html
>
> How do I, or can I make a container div actually contain a other floated
> divs and it's height is determined by the contents of the divs contained
> within it.
>
> What I mean is, the page linked above, if I add a height to the
> 'featured' div it looks like it's height is determined by the contents
> of the divs contained within it. Can I do this without the height attrib.?
>
> Thanks,
>
> - D
> ______________________________________________________________________
> css-discuss [EMAIL PROTECTED]
> http://www.css-discuss.org/mailman/listinfo/css-d
> IE7 information -- 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/
> 

______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- 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