Currently the corner plugin (http://www.malsup.com/jquery/corner/) is only used for rounded corners, it would be good if it also did borders as well to replace the existing one (and automatically inherit the widths and colours defined via CSS).
I am aware there are examples for doing this (under Adornment on the plugin's page), but perhaps it would be better if the plugin handled this (adding the extra markup required). I have done a test, but come across some issues (doesn't work well for inline elements and pre's): http://www.texotela.co.uk/sandbox/roundedborder/