Frederick Grose wrote:
> I'm able to use CSS to control wiki page cursors with this syntax,
> 
> <span style="cursor:crosshair;">wiki text</span>
> 
> but not this,
> 
> <span style="cursor:url(http://domain/images/cursorfile.png),
> crosshair;">wiki text</span>
> 
> which works in the same browser at this page,
> http://www.w3schools.com/CSS/tryit.asp?filename=trycss_cursor
> 
> Suggestions?
> 
> Thanks in advance,                              --Fred

Place cursor:url(http://domain/images/cursorfile.png),
 crosshair in a CSS class in global scope (eg. [[MediaWiki:Common.css]]).

Then apply the class to the span:  <span class="customcursor">wiki
text</span>

url() is disabled on wikitext. It wouldn't be too safe to have it.


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to