document.createStyleSheet(); css.addRule("v\\:roundrect", "behavior: url(#default#VML);display:inline-block;"); var rect = document.createElement('v:roundrect'); setAttribute(rect, { arcsize:"20px", stroked:false }); rect.css({ width:"20px",height:"20px", antialias:true }); IE 6/7/8使用js实现圆角