The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Stupid code question.

Discussion in 'General Discussion' started by phonelesscord, Aug 6, 2004.

  1. phonelesscord

    phonelesscord Active Member

    Joined:
    Apr 24, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    I want to have a crosshair cursor. What am I doing wrong here? Thanks. :confused:


    <html>
    <head>
    <title>My Immortal</title>
    <style type="text/css">body {
    scrollbar-arrow-color: #cb114e;
    scrollbar-base-color: #000000;
    scrollbar-dark-shadow-color: #cb114e;
    scrollbar-track-color: #000000;
    scrollbar-face-color: #000000;
    scrollbar-shadow-color: #000000;
    scrollbar-highlight-color: #000000;
    scrollbar-3d-light-color: #cb114e;
    }
    <!--
    p {cursor: crosshair;}
    -->
    </style>
    </head>
     
  2. station

    station Member

    Joined:
    Jul 21, 2004
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    1
    I think you have an error in syntax,

    <style type="text/css">
    <!--
    body {
    scrollbar-arrow-color: #cb114e;
    scrollbar-base-color: #000000;
    scrollbar-dark-shadow-color: #cb114e;
    scrollbar-track-color: #000000;
    scrollbar-face-color: #000000;
    scrollbar-shadow-color: #000000;
    scrollbar-highlight-color: #000000;
    scrollbar-3d-light-color: #cb114e;
    }
    p {
    cursor: crosshair;
    }
    -->
    </style>
    That may be the solution...note the comment tag was out of place.
    HTH
     
  3. landgraaf

    landgraaf Registered

    Joined:
    Jun 7, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    <style type="text/css">
    <!--
    body {
    cursor: crosshair;
    scrollbar-arrow-color: #cb114e;
    scrollbar-base-color: #000000;
    scrollbar-dark-shadow-color: #cb114e;
    scrollbar-track-color: #000000;
    scrollbar-face-color: #000000;
    scrollbar-shadow-color: #000000;
    scrollbar-highlight-color: #000000;
    scrollbar-3d-light-color: #cb114e;
    }
    -->
    </style>

    for the complete page
     
  4. phonelesscord

    phonelesscord Active Member

    Joined:
    Apr 24, 2004
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    Thanks!! It works now. Is there a way to have the crosshair for the links also? :cool:
     
  5. Lesli

    Lesli Member

    Joined:
    Jun 17, 2003
    Messages:
    15
    Likes Received:
    0
    Trophy Points:
    1
    Add

    Code:
    a {cursor: crosshair}
    
     
Loading...

Share This Page