To create rounded corners on my container elements I use this CSS:
border-radius:12px; -moz-border-radius: 12px; -webkit-border-radius: 12px;
H
The scripting / jQuery solution you are talking about does exist, take a look at jQuery Curvy Corners.