摘要: 效果如下: 1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="UTF-8"> 5 <title>Title</title> 6 </head> 7 <style> 8 td,th{ 9 border: 1px solid g 阅读全文
posted @ 2018-01-29 18:51 兰亭序乱 阅读(337) 评论(0) 推荐(0) 编辑
摘要: 用JS实现表格中隔行显示不同颜色 第一种: <style> tr{bgColor:expression( this.bgColor=((this.rowIndex)%2==0 )? 'white' : 'yellow'); } </style> <table id="oTable" width="1 阅读全文
posted @ 2018-01-29 15:25 兰亭序乱 阅读(487) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript" src="path/to/script1.js" async></script> <script type="text/javascript" src="path/to/script2.js" async></script> 阅读全文
posted @ 2018-01-29 15:00 兰亭序乱 阅读(4505) 评论(0) 推荐(1) 编辑