p.setAttribute("style", "width:90%");. 以上代码是用百分比来确定网页的宽度,主要用javascript 的setAttribute() 方法来设置网页元素div 的style 属性 ...
確定! 回上一頁