This way it works, thx. B.
-----Ursprüngliche Nachricht----- Von: mediawiki-l-bounces@lists.wikimedia.org [mailto:mediawiki-l-bounces@lists.wikimedia.org] Im Auftrag von Platonides Gesendet: Dienstag, 10. August 2010 00:15 An: mediawiki-l@lists.wikimedia.org Betreff: Re: [Mediawiki-l] css background-image
Scheid, Bernhard wrote:
Hi,
is there any way to activate css background-image via the wikitext? (I.e. include an html element with "style='background-image: url(...)' ")
I use extension.css and have specified $wgAllowExternalImagesFrom, which works for direct links, but CSS is obviously not affected. Any solution?
Bernhard
Add a class to the wikitext and apply the background-image to the class in [[MediaWiki:Common.css]].
_______________________________________________ MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l