RE: [css-d] Floats break containing div

2005-10-12 Thread jérôme coupé
Hello Brendan, This is typical with floats. Floated items are removed from the document flow and non floated elements do not take them into account anymore. You can have a look at Eric's article on the subject of float containment http://www.complexspiral.com/publications/containing-floats/ In

Re: [css-d] Floats break containing div

2005-10-12 Thread Diona Kidd
Hi there. I think you need a block level element after #wrapper element. I use a couple of hacks to make this work well in different browsers. Give this a try. style #wrapper { border-left: 6px solid #FFCC33; border-right: 6px solid #FFCC33; background-color: #fff;

Re: [css-d] Floats break containing div

2005-10-12 Thread Diona Kidd
Hi there. I think you need a block level element after #wrapper element. I use a couple of hacks to make this work well in different browsers. Give this a try. style #wrapper { border-left: 6px solid #FFCC33; border-right: 6px solid #FFCC33; background-color: #fff;