|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
custom cursor CSS
I found two different sytlesheets for displaying custom cursors on my website and they both worked on my computer with IE 6.0. But neither of them worked on the site after I uploaded the new cursor files.
Here's the whole stylesheet: <style> <!-- a{text-decoration:none} A:hover { CURSOR:url(redhand.cur); color:red; text-decoration:none; background-color:yellow; } BODY{ CURSOR:url(redarrow.cur); scrollbar-face-color:'#000000'; scrollbar-arrow-color:'#FFFF00'; scrollbar-track-color:'#408080'; scrollbar-shadow-color:'#FF8000'; scrollbar-highlight-color:'#FF8000'; scrollbar-3dlight-color:'#FF8000'; scrollbar-darkshadow-Color:'#000000'; } --> </style> I've tried putting the cursor filename in double and single quotes, using the full URL path in quotes, etc. All work on my computer, but none on the website. What's wrong? |
|
#2
|
|||
|
|||
|
CURSOR:url(redarrow.cur); means that the image must be in the same directory as the css file. If not, you have to set the path from the css file.
wimb |
|
#3
|
|||
|
|||
|
Quote:
The CSS is not a file, it's in the <head> section of the HTML. And the cursor image files are in the same directory as the index.html. Why does this work on my computer and not on Netfirms? |
|
#4
|
||||
|
||||
|
On a different note, I am interested in supressing the mouse pointer altogether (so it doesn't appear on an overhead projector). Does anyone know how to do this?
|
|
#5
|
||||
|
||||
|
Does IE 5.50 support a url() cursor?
|
|
#6
|
|||
|
|||
|
Quote:
No. As far as I know, the custom cursor feature started with IE 6.0. |
|
#7
|
||||
|
||||
|
Oh. Well I'll have to check the version on the computer I'll be using then. It might be newer. But what I had in mind won't work when I test it on my home computer. I was intending to make a blank cursor (nothing visible) so the mouse wouldn't interfere with the display on an overhead projector.
No biggie. Thx for the info. |
|
#8
|
|||
|
|||
|
I tried the stylesheet as stated in post 1, however, there is error which states syntax error in the status bar of the Windows (IE6). How do I remove that error or issit a BUG ??
|
|
#9
|
|||
|
|||
|
Quote:
Must be a bug because that code works fine now with my IE 6.0. All I had to do was move the page to a web host that had no banners. The banner code on the original site wrapped the stylesheet in its HTML, which is why the cursors wouldn't display. |
|
#10
|
|||
|
|||
|
wad host you using?? I using Geocities.
The cursors would display, but there is syntax error in the status bar, which says Line 2, Char 29. any scripts to catch such errors or changes in the css ?? |
|
#11
|
|||
|
|||
|
Quote:
The Geocities floating ad may be the source of your error. I use Brinkster, free web hosting without banners or ads of any kind. |
|
#12
|
|||
|
|||
|
Sorry to digress from the topic, is brinkster better in terms of bandwith then Geocities??
|
|
#13
|
|||
|
|||
|
Quote:
I have no idea since I have never had to worry about bandwidth issues at any of my sites. You can find the answer to your question at http://www.brinkster.com |
|
#14
|
|||
|
|||
|
thanks, my problem was solved. Mine was more of an informative site, hence was always down in Geocities.. need two accounts to distribute traffic...
|
![]() |
| Viewing: Dev Shed Forums > Web Design > CSS Help > custom cursor CSS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|