--- c:\renderer.php 2011-12-06 17:21:32.000000000 +0000 +++ c:\renderer2.php 2012-03-05 08:52:19.463300700 +0000 @@ -456,7 +456,7 @@ // 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 +515,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)); @@ -549,7 +549,7 @@ // Paddding (the last week may have blank days at the end) for($i = $dayweek; $i <= $display->maxwday; ++$i) { $cell = new html_table_cell(' '); - $cell->attributes = array('class'=>'nottoday'); + $cell->attributes = array('class'=>'nottoday dayblank'); $row->cells[] = $cell; } $table->data[] = $row;