这是设置字体大小的,但如何设置 color 和字体的样式如:bold , italics ? fontId.style.color="red"fontId.style.fontWeight="bold" 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 document.all.readcontent.style.color="red"document.all.readcontent.style.fontWeight="bold"document.all.readcontent.style.fontStyle="italic" document.all.readcontent.style.textDecoration="underline" 有了解jquery tip的吗? 关于js中的正则表达式 showModalDialog不显示 下拉列表t的onchange事件之后,又没有类似于onchangeEnd事件。 一个关于javascript读取xml的问题 用javascript实现客户端数据集的导出(分别导出为Excel、txt、html文件) 如何获得对象数组的长度? 如何动态改变单元格的背景色,或前景色? 有没有好用的生成表单验证代码的软件? 请问怎样判断一个对象是否存在呢? 在JS中对"\"的处理问题 大哥大姐救我呀!!
document.all.readcontent.style.fontWeight="bold"
document.all.readcontent.style.fontStyle="italic"