dcsimg
www.webdeveloper.com
Results 1 to 10 of 10

Thread: Not working my cursor

  1. #1
    Join Date
    Mar 2003
    Posts
    9

    Not working my cursor

    I want to use my own cursor on page: body{cursor: url("../images/normal.cur")}. When I keep this file under Windows, I can see in my IE this feature working. If I put the page on server under Linux, the cursor is not seen in IE any more. Please help me with the problem.

  2. #2
    Join Date
    Nov 2002
    Posts
    4,473
    Perhaps your server does not recognize the MIME type for the extension "cur".

    Perhaps you have a CaPiTaLiZaTiOn error.

    Perhaps your file does not exist on the server.

    Perhaps your file is not in the right directory.

  3. #3
    Join Date
    Mar 2003
    Posts
    9
    What will be MIME type for extension cur?

  4. #4
    Join Date
    Nov 2002
    Posts
    4,473
    I don't know. Something like

    image/x-icon

    There wasn't much info in CSS2 about it. W3C doesn't control MIME types anyway.

  5. #5
    Join Date
    Nov 2002
    Posts
    984
    Donī't know whet (or if there even is) a regoistered mimetype for cur files

    The official mimetype list can be found here though
    ftp://ftp.isi.edu/in-notes/iana/assi...es/media-types

  6. #6
    Join Date
    Mar 2003
    Posts
    9
    Besides, if I put my cursor on Apache web-server situated on windows platform - it works with no MIME types, the same under Apache on Linux doesn't work.

  7. #7
    Join Date
    Nov 2002
    Posts
    4,473
    You can thank Bill Gates I guess.

  8. #8
    Join Date
    Mar 2003
    Posts
    9
    Also cursor can be made as .ico file. Then everything is OK, at least in my case. Thank you.

  9. #9
    Join Date
    Nov 2002
    Posts
    4,473
    That's interesting! What I read on Microsoft's web site was:
    Internet Explorer 6 and later. Cursor is defined by the author, using a custom Uniform Resource Identifier (URI), such as url('mycursor.cur'). Cursors of type .CUR and .ANI are the only supported cursor types.
    An .ico is that stupid Favorites icon that shows up in the location box.

  10. #10
    Join Date
    Mar 2003
    Posts
    9
    You may visit green.ipm.lviv.ua and watch yourself cursor as ico file working in IE.
    Last edited by MMMike; 03-06-2003 at 08:39 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles