I have a situation where there is a div containing several divs which contain various elements p, img, etc in a properly ordered way. The parent div has a 1px margin and a 1px border and 5px of padding - pretty normal. IF I have a right float (e.g. an image to the right of a text para) as the last element before the closing div /div> of the inner div then IE6 breaks and the left border and margin gets corrupted. OK in FF, N8 and Op8. I have found that if I put a para after the rougue float (and it's the floa that's causing it) the problem is solved. So as I do'nt want a para I've put a p>  /p> there instead.
Is this a classic IE problem and how do I properly deal with it?