Calendar module: HTMLCalendar overrides style sheet settings

Sibylle Koczian nulla.epistola at web.de
Sun Mar 29 16:17:45 CEST 2009


Sibylle Koczian schrieb:
> Hello,
> 
> So I looked into the calendar module and made a LocalHTMLCalendar
> subclass. Putting in additional style classes for "my" dates wasn't
> difficult, but there is one thing I don't like at all: the methods
> formatmonth() and formatyear() both return tables with explicit and ugly
> formatting:
> 
> <table border="0" cellpadding="0" cellspacing="0" class="month">
> 

I was quite wrong: this doesn't overwrite formatting by a style sheet.
Should have studied them a bit more first - sorry for the noise!

Regards
Sibylle




More information about the Python-list mailing list