Wednesday, March 23, 2011

Opera and Custom cursor in CSS

Where I normally am verry proud of Opera for implementing everything CSS really correct it seems that implementing a custom cursor with the following line doesn't seem to work

cursor:url("../pics/merge.gif");

The URL is correct since it works for regular background-image properties.
Works in other browsers, but not in Opera.

Any ideas?

From stackoverflow
  • Opera doesn't seem to support the url property. It might even be being removed from the spec (will check that).

    borisCallens : the URL property? You do mean in combination with the cursor? It dftly supports it with background-image...
  • Opera has not yet added support for that. That line is incorrect though, per the specification a fallback cursor is required. So you have to write e.g.

    cursor:url("path/to/cursor"), wait;

    (Disclaimer: I work for Opera.)

    borisCallens : You work for opera? Thanks for such a great product. Also, what's the company like? If they ever think of accepting 1 year foreign interns, please do contact me ;)
    Anne : It's great! And I believe we do: http://www.opera.com/company/jobs/

0 comments:

Post a Comment