function cc()
{
var cf=window.screen.width;
alert(cf)
if(cf {
cf=-(1920-cf)/2
}
else if(cf>1920)
{
cf=(cf-1920)/2
}
document.getElementById("m1").style.marginLeft=cf;
alert(cf)
}
查看更多关于document.getElementById("")赋值问题_html/css_WEB-ITnos的详细内容...
声明:本文来自网络,不代表【好得很程序员自学网】立场,转载请注明出处:http://haodehen.cn/did108410