这是我用的模板日历代码div#cals .cal_yr table{width:30px}/*年,月表格*/div#cals .cal_yr td{color: #6600FF;font-size:12px;background:none;padding:1px;white-space:nowrap;line-height:15px}/*年,月单元格*/div#cals .cal_yr .cal_pre{font-size:8px;/*background:url(
" target="_blank" >
) no-repeat center center*/;padding-left:10px}/*上一月箭头(正常)*/div#cals .cal_yr .cal_nxt{font-size:8px;/*background:url(
" target="_blank" >
) no-repeat center center;*/padding-left:10px}/*下一月箭头(正常)*/div#cals .cal_yr .cal_pre_ovr{font-size:8px;background:url(
" target="_blank" >
) no-repeat center center;padding-left:10px;cursor:pointer}/*上一月箭头(鼠标悬停)*/div#cals .cal_yr .cal_nxt_ovr{font-size:8px;background:url(
" target="_blank" >
) no-repeat center center;padding-left:10px;cursor:pointer}/*下一月箭头(鼠标悬停)*/div#cals *.cal_active{color: #3CA9C4;text-decoration:none;font-weight:bold;BACKGROUND:url('http://webme.bokee.com/inc/mouse095.cur') center no-repeat;linehight:15px;}/*有更新的日期效果*/div#cals *.cal_select{padding:2px;/*border:1px solid #5491C6*/;background-color:#ccffff;color:#666666;/*text-decoration:underline*/} /*有更新的日期鼠标移上效果*/div#cals .today{color:#ffffff;padding:2px;border:1px dashed #89B1ED;BACKGROUND:url(http://pic.23717.com/pic/icon/icon2/15/006.gif) center no-repeat;line-hight:27px;font-weight:bold;}/*今日*/div#cals td{color: #4400AA;text-align:center;font-family:Arial;font-size:12px;font-weight:bold;padding:3px;line-height:14px;white-space:nowrap}/*日期*/div#cals .cal_date{color:#666666}/*普通日期*/