border-radius and then a child within that which has a background this will not overflow the parent's border radius. As the image shows, there's no curves on the top corners.overflow: hidden to the parent. And that works.overflow: hidden will screw up. For example you need to absolute position an element outside of the parent's space, or maybe you need scrollbars.border-radius to the child. This will also work, perhaps with some bleeding with you can tweak out.overflow: hidden is a no-go, and additionally as the content is dynamic I can't be sure if the child element wit a background will be at the parent element's edge or not - thus border radius can't be applied to the child.