.roundedInner { padding: 1px; } .roundedInner1 { padding-left: 42px; background: url(roundedBorders.png) repeat-y; } .roundedInner2 { padding-right: 47px; background: url(roundedBorders.png) repeat-y 100% 0; } .roundedTop1 { background: url(roundedCorners.png) no-repeat 100% 0; margin-left: 42px; height: 42px; } .roundedTop2 { position: relative; left: -42px; width: 42px; height: 42px; background: url(roundedCorners.png) no-repeat; } .roundedBottom1 { background: url(roundedCorners.png) no-repeat 100% 100%; margin-left: 42px; height: 46px; } .roundedBottom2 { position: relative; left: -42px; width: 42px; height: 46px; background: url(roundedCorners.png) no-repeat 0 100%; }