[Mediawiki-l] background image for table

Jared Williams jared.williams1 at ntlworld.com
Thu Feb 28 14:55:04 UTC 2008


Any style value using url() is explicitly removed.

(see Sanitizer::checkCss() )

Jared

> 
> Hi
> 
> I would like to set a background image for a table in wikisyntax
> (without changing CSS).
> 
> I tried:
> {| style="background-image:url(http://mydomain.tld/myimage.jpg)"
> | Data1
> | Data2
> |}
> 
> but it doesn't work. When i look at the generated html code 
> there is no
> attribute generated for <table>. Other attributes (e.g.
> background-color:yellow) work perfectly. As soon as i put a
> background-image:url(pathtoimage) statement, all other 
> attributes disapear.
> 
> Whats wrong here?
> 
> Greetings
> Ponte




More information about the MediaWiki-l mailing list