View Single Post
  #3 (permalink)  
Old April 25th, 2006, 02:38 PM
richard.york's Avatar
richard.york richard.york is offline
Wrox Author
Points: 5,506, Level: 31
Points: 5,506, Level: 31 Points: 5,506, Level: 31 Points: 5,506, Level: 31
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Camby, IN, USA.
Posts: 1,706
Thanks: 0
Thanked 6 Times in 6 Posts
Default

You have a few errors in the path you are specifying. Where are you getting the tilde? You're using backslashes instead of forward slashes. Also, you have a comma after the first file name.

Code:
div {
    cursor: url('/images/banana.ani');
    border: thin solid black;
    width: 100px;
    height: 100px;
}
Although it isn't spelled out as clearly as it could have been in the book, while IE does support custom cursors, I don't beleive it supports fallback cursors. I'm using a Mac at the moment, so I can't test it to be sure.

http://msdn.microsoft.com/workshop/a...ies/cursor.asp



Regards,
Rich

--
Author,
Beginning CSS: Cascading Style Sheets For Web Design
CSS Instant Results

http://www.catb.org/~esr/faqs/smart-questions.html