Results 1 to 8 of 8

Thread: (CSS) What do I use for Cursor : Hand; ?

  1. #1

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057

    (CSS) What do I use for Cursor : Hand; ?

    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
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  2. #2
    Fanatic Member RealisticGraphics's Avatar
    Join Date
    Jul 1999
    Location
    Arkansas
    Posts
    655
    Pointer is the correct value. Here is an example:

    Code:
    <style>
    A.CHand {cursor:pointer}
    </style>
    
    
    <A class="CHand" href="http://www.realisticgraphics.com">Realistic Graphics</a>
    Copy & Paste the above code into a new html file and it should work fine.
    www.RealisticGraphics.net

    Running VS.Net Enterprise & VB 6

    Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML

    MSN Messenger: kmsheff

  3. #3
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    Wouldn't a hyperlink display the pointer on mouseover anyway?
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  4. #4
    Frenzied Member Rick Bull's Avatar
    Join Date
    Apr 2002
    Location
    England
    Posts
    1,444
    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?

  5. #5

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    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
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  6. #6
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    yeah, IE5 and 5.5 both have problems with cursorointer;. Have you tried it in Mozilla/Netscape 6/7?
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

  7. #7

    Thread Starter
    Frenzied Member msimmons's Avatar
    Join Date
    Jul 2001
    Location
    Houston, TX
    Posts
    1,057
    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
    I'm off to GalahTech, hope to see you there.

    If you don't like the rules they make, refuse to play their game. -- Steve Ignorant.

  8. #8
    Fanatic Member punkpie_uk's Avatar
    Join Date
    Sep 2001
    Location
    UK
    Posts
    645
    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.
    SPREAD THE WORD!!! Are You Lee McCormick? Because I Am



    Lee M McCormick
    [email protected]

    Lee McCormick.com - Live
    Dynamically Webbed.com - In development but live

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width