origo

origo

BlogJava 首页 新随笔 联系 聚合 管理
  15 Posts :: 0 Stories :: 13 Comments :: 0 Trackbacks
1.定义css
    #product-list .list-line-even {
  background:   #e0f8f8;
}

#product-list .list-line-odd {
  background:   #f8b0f8;
}

2.在页面上引用

   <tr valign="top" class="<%= cycle('list-line-odd', 'list-line-even') %>">

3.查看效果

posted on 2008-03-13 14:38 origo 阅读(271) 评论(0)  编辑  收藏