Solved

custom cursor for in IE

Posted on 2003-11-10
3
444 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
  • 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Foreword (July, 2015) Since I first wrote this article, years ago, a great many more people have begun using the internet.  They are coming online from every part of the globe, learning, reading, shopping and spending money at an ever-increasing ra…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

759 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now