Ross Hulford wrote: > Hi, > > I am looking for a way to make this expand with the content. The offending > property is float:none. I can add another floating div inside called > 'floated-container' or something but is there a way to make float:none's > recognised by it's children or a better way to center divs? > > width:510px; > min-height:400px; > margin-left:auto; > margin-right:auto; > float:none; > background-image:url(images/main_image.jpg); > background-position:0px 0px; > border:1px solid green; > background-repeat:no-repeat; > background-color:#CC0000; > > ______________________________________________________________________ > 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/ >
If I understand what you are trying to do, I would first try removing "width:510px;". ______________________________________________________________________ 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/
