js怎么在documentwrite設置顏色?
document.write("<font style='font-size:12px; color:#FF0000'>距</font>"+s+"<font style='font-size:12px; color:#FF0000'>開幕還有</font"+n+"<font style='font-size:12px; color:#FF0000'>天</font>") 讓document.write("<div class=''>距“+s+"開幕還有"+n+"天</div>");然后用css設置樣式