Solved

custom cursor for in IE

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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
Extracting content from meta tag PHP MYHTML DOM 3 34
Printing customized headers and footers using html and bootstrap 3 25
What cart is this? 2 33
html form layout 4 34
This is a PowerShell web interface I use to manage some task as a network administrator. Clicking an action button on the left frame will display a form in the middle frame to input some data in textboxes, process this data in PowerShell and display…
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.
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

713 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