www.webdeveloper.com
Results 1 to 7 of 7

Thread: A: Cursor

  1. #1
    Join Date
    Nov 2002
    Posts
    49

    A: Cursor

    I cant seem to get the cursor to be different than that stupid hand using CSS, I have tried:
    A:Cursor: URL(link.cur)
    A:Hover:Cursor: URL(link.cur)

  2. #2
    Join Date
    Nov 2002
    Location
    NY, USA
    Posts
    731
    a { cursor: url("link.cur") }

    The property cursor may have values of [ [<uri> ,]* [ auto | crosshair | default | pointer | move | e-resize | ne-resize | nw-resize | n-resize | se-resize | sw-resize | s-resize | w-resize| text | wait | help ] ] | inherit
    for(split(//,'))*))91:+9.*4:1A1+9,1))2*:..)))2*:31.-1)4131)1))2*:3)"'))
    {for(ord){$i+=$_&7;grep(vec($s,$i++,1)=1,1..($_>>3)-4);}}print"$s\n";

  3. #3
    Join Date
    Nov 2002
    Posts
    49
    Thanks!

  4. #4
    Join Date
    Dec 2002
    Location
    United States of America
    Posts
    27
    Yes, but the quotes are unnecessary, correct?

    Would
    a { cursor: url(link.cur); }
    work as well.
    got apache?
    got mozilla?
    got ogg?
    got php?
    got redhat?

  5. #5
    Join Date
    Nov 2002
    Location
    Baltimore, Maryland
    Posts
    12,270
    From http://www.w3.org/TR/REC-CSS2/syndata.html#uri:
    The format of a URI value is 'url(' followed by optional whitespace followed by an optional single quote (') or double quote (") character followed by the URI itself, followed by an optional single quote (') or double quote (") character followed by optional whitespace followed by ')'. The two quote characters must be the same.
    “The power of the Web is in its universality. Access by everyone regardless of disability is an essential aspect.”
    —Tim Berners-Lee, W3C Director and inventor of the World Wide Web

  6. #6
    Join Date
    Dec 2002
    Location
    United States of America
    Posts
    27
    Aye, I thought so.
    got apache?
    got mozilla?
    got ogg?
    got php?
    got redhat?

  7. #7
    Join Date
    Nov 2002
    Location
    England
    Posts
    275
    I seem to remember though that you need them if you are going to include certain characters, so you may as well just use them.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles