Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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>
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. station

    station Member

    Joined:
    Jul 21, 2004
    Messages:
    18
    Likes Received:
    0
    Trophy Points:
    151
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. landgraaf

    landgraaf Registered

    Joined:
    Jun 7, 2004
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    <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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. phonelesscord

    phonelesscord Active Member

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

    Lesli Member

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

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

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice