在js里设置背景图片的定位 在css里: background:url(../images/channel1.png) no-repeat 0 0;请问下在js里怎么设置位置为-100px -100px; 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 document.getElementById(el).style.backgroundRepeat = "no-repeat";document.getElementById(el).style.backgroundPositionX = "-100px";document.getElementById(el).style.backgroundPositionY = "-100px";ordocument.getElementById(el).style.backgroundPosition= "0 0"; js 急急急! 修改字体 那个是什么控件? ASP批量删除复选框选中后为什么不能取消选择 请教js正则验证的问题 FCKeditor编辑器中怎么用JAVASCRIPT取得当前编辑器中的值?? EXCEL? 那个JAVASCRIPT日历程序,怎么使它隐藏,在单击网页任一处时? 帮帮我吧!!我就剩10分了!!救救我!求求大家了!!帮帮我吧! 谁有小巧而漂亮的日历控件 简单问题!请高手指教! js表单验证提交的问题 新手问题,求帮忙解答
document.getElementById(el).style.backgroundPositionX = "-100px";
document.getElementById(el).style.backgroundPositionY = "-100px";
or
document.getElementById(el).style.backgroundPosition= "0 0";