.RMF s 0 + "px"; closeBtn.style.height = 18 + "px"; closeBtn.style.backgroundImage = "url(http://d1.sina.com.cn/d1images/close_btn/40x18_1.jpg)"; closeBtn.style.overflow = "hidden"; closeBtn.style.position = "absolute"; closeBtn.style.top = "0"; closeBtn.style.right = "0"; closeBtn.style.cursor = "pointer"; PDPS000000055146.appendChild(closeBtn); closeBtn.onclick = function(){ PDPS000000055146.style.display = "none"; } } } });