With New Modern Clearfix
Add the clearfix hack to the containing element, to fix this problem:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Phasellus imperdiet...This image is floated to the right. It is also taller than the element containing it, so it overflows outside of its container:This image is floated to the right. It is also taller than the element containing it, so it overflows outside of its container:This image is floated to the right. It is also taller than the element containing it, so it overflows outside of its container:This image is floated to the right. It is also taller than the element containing it, so it overflows outside of its container:This image is floated to the right. It is also taller than the element containing it, so it overflows outside of its container:This image is floated to the right. It is also taller than the element containing it, so it overflows outside of its container:This image is floated to the right. It is also taller than the element containing it, so it overflows outside of its container:
