摘要:
在页面中引用样式只有三种方式:1.通过link引用外链形式var styles = document.createElement('link')styles.rel = 'styleSheet'styles.type = 'text/css'styles.href = 'http://xxoo.com/c.css'document.getElementsByTagName('head')[0].appendChild(styles)这种方式主要是用与样式比较多的情况,长篇大论的时候2.通过style标签来添加IE和 阅读全文
posted @ 2012-06-13 17:53
xiaoxiaohui
阅读(2106)
评论(0)
推荐(0)
浙公网安备 33010602011771号