margintop上移,边框颜色设置成一样的,border-top设置成none,background设置成页面底色覆盖掉上面的border
.goodsDiffer .nobrdr a { height: 27px; line-height: 27px; margin: 0; display: inline-block; padding: 0 29px; border: 2px solid #f7f7f8; border-top: none; margin-top: -2px; background: #ffffff; color: #5b5b5b; font-size: 12px; }