随笔-12  评论-0  文章-0  trackbacks-0
document.styleSheets[0].rules[0].style.cssText  //第一个style 中第一个css类中的内容document.styleSheets.length  //所有style的个数
document.styleSheets[0].rules.length //style中类的个数 
document.styleSheets[0].rules[0].selectorText //第一个style中第一个类的内容
document.styleSheets[0].addRule(".table_type","color:blue;font-size:27px",-1);//插入类
document.styleSheets[0].href="/template/otherStyleSheet.css";//定义第一个类的联接

基础知识
http://www.w3school.com.cn/tags/html_ref_byfunc.asp    W3C学习

技巧
http://bbs.blueidea.com/thread-942702-1-1.html   CSS控制技巧


动态HTML编程
http://sucai.heima.com/sucai/Cssjc/0036.htm

有趣的小例子(english)

http://demos.mootools.net/


http://www.cnitblog.com/yemoo/archive/2007/09/28/34130.html
posted on 2008-04-03 10:13 马强 阅读(157) 评论(0)  编辑 收藏 引用 所属分类: HTMLCSS
只有注册用户登录后才能发表评论。