@@ -455,8 +455,9 @@ // Paddding (the first week may have blank days in the beginning) for($i = $display->minwday; $i < $startwday; ++$i) { $cell = new html_table_cell(' '); - $cell->attributes = array('class'=>'nottoday'); + $cell->attributes = array('class'=>'nottoday dayblank'); $row->cells[] = $cell; } @@ -515,10 +516,10 @@ } // Special visual fx for today - if($display->thismonth && $calendar->day == $calendar->day) { - $cellclasses[] = 'today'; + if($display->thismonth && $calendar->day == $date['mday']) { + $cellclasses[] = 'day today'; } else { - $cellclasses[] = 'nottoday'; + $cellclasses[] = 'day nottoday'; } $cell->attributes = array('class'=>join(' ',$cellclasses));