I just found out that Cursor:Hand; is not legal but I do not know what to replace it with. according to W3C it is pointer... but that is giving me the i bar (like text would be)
Thanks
Michael
Printable View
I just found out that Cursor:Hand; is not legal but I do not know what to replace it with. according to W3C it is pointer... but that is giving me the i bar (like text would be)
Thanks
Michael
Pointer is the correct value. Here is an example:
Copy & Paste the above code into a new html file and it should work fine.Code:<style>
A.CHand {cursor:pointer}
</style>
<A class="CHand" href="http://www.realisticgraphics.com">Realistic Graphics</a>
Wouldn't a hyperlink display the pointer on mouseover anyway?
Yeah but maybe he doesn't want to use it on a link, or create a "fake" link.
I seem to remember that IE 5 has some bugs with cursor, so maybe it's just that. What browsers have you tested with?
I'm making "buttons" out of divs and using the onClick event. I've only tested in IE5.5 so that must be the problem. (I can just put an "a" tag around the div I guess).
Thanks
Michael
yeah, IE5 and 5.5 both have problems with cursor:pointer;. Have you tried it in Mozilla/Netscape 6/7?
not yet... even though I am doing better than I used to I am not too bothered about non IE. This is going to be a web app that is used by employees only so I can tell them what they have to use. But, I am still trying to make it to standards.
Michael
Yeah, I'm the webmaster/designer here at work in Microsoft Only Environment but I still try to adhere to the standards. I suggest upgrading to IE6, it's certainly not perfect but it's less buggy at displaying DHTML.