I think there is a weird way of doing it with CSS, but its not well supported. The way most professional sites do it is by using images to cover up the corners, that are transparent in the center. Or you can just use images for the whole corner of the box. There are several things like this in daniweb, the quick post box and the gray latest thread boxes on the right. :D