Search code examples
htmlcssinternet-explorercursor

Defining your own cursor not working in IE 8


this page works perfectly in Firefox and chrome but not in IE :

<html>
  <head>
    <style  rel="stylesheet" type="text/css" > 
      body{ 
        cursor: url("crosshair2nosprinkles.cur") 24 24, default;
      }
    </style>
  </head>
  <body>
  </body>
</html>

Solution

  • the answer was that IE didn't accept hotspot coords so i had to make myself a cursor with implicit hotspots and also i had to define the DOCTYPE at the beginning of the page