Both answers are correct, you can use CSS3 styles (which are not actually supported by current IE), or you can use a javascript package like http://www.malsup.com/jquery/corner/ .
There is, however, another option that cannot be discarded, even if it is not perfect. If your inputs have a fixed length, you can also draw any background (including borders) that your inputs require into the image and use
background: transparent url(pathToYourImage.png); border: none;
This allows you to work with almost all browsers that you can think of.
Joonas trussmann
source share