Solved

custom cursor for in IE

Posted on 2003-11-10
3
452 Views
Last Modified: 2010-04-09
Dear All,

How can I use a custom cursor (in gif) in html page (IE)?


Thanks.
0
Comment
Question by:ping1234
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 11

Accepted Solution

by:
Zontar earned 50 total points
ID: 9713578
I think MSIE currently only supports .cur and maybe .ani files for cursors.

CSS:

a.special  { cursor:url("images/special.cur"); }

HTML

<a href="somepage.html" class="special">LINK</a>
0
 
LVL 2

Expert Comment

by:HeadAcheMike
ID: 9716573
<style>
BODY {
cursor:url("cursor.cur");
}
</style>

that should work all over the page instead of just on links
0
 
LVL 11

Expert Comment

by:Zontar
ID: 9719203
Why would you want to use a different cursor for the entire page? (That would drive me nuts.) I wouldn't use a custom cursor for the default, I'd only use it for a specific purpose/task/element/set of elements.

In any case, using CSS you can assign the cursor to any element you want. But you are at present limited to MSIE 6/Windows and .cur/.ani files.

More info about and test cases for cursors: http://www.worldtimzone.com/mozilla/testcase/css3cursors.html
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
This article explains how to prepare an HTML email signature template file containing dynamic placeholders for users' Azure AD data. Furthermore, it explains how to use this file to remotely set up a department-wide email signature policy in Office …
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question