Solved

custom cursor for in IE

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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

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.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
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 …

776 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