When I use CSS rounded corners, they look like this, and it's great:
But if I specify a background color for an element inside them (in this case a simple <p>
tag), the background color overlays the rounded corners, like so:
How can I keep my pretty rounded corners without the background color drawing over them? I tried specifying the same rounded corners for the element inside, but if I do that the background color doesn't completely fill the space: