[Moin-user] Illegal HTML attribute "bgcolor"

Robert Schumann robert at cantab.net
Tue Feb 14 08:16:16 EST 2006


Hiers, Richard wrote:

>If I try to edit with the GUI editor a page that contains something like
>the following:
>
>||<tablestyle="float: right" bgcolor="#cccc99" :> '''Table Of
>Contents''' ||
>|| [[TableOfContents]] ||
>
>I get the following error:
>
>ValueError
>Illegal HTML attribute "bgcolor" passed to formatter
>  
>
And so you should.  First off, bgcolor is not valid wiki table markup, 
and it's also not valid CSS.  Hence something like

||<tablestyle="float:right; background: #cccc99; text-align: 
center;">'''Table''' ||

might be more what you're looking for.

Robert.





More information about the Moin-user mailing list