/    Sign up×
Community /Pin to ProfileBookmark

custom cursors not working over scrollbar

Hello. This is my style.css:

[CODE]html, body {
cursor:url(cursors/pointer.cur), default;
background:url(images/bg.jpg);
background-repeat:no-repeat;
background-position:top center;
background-color:#000000;
color:#999999;
font-family: Palatino Linotype;
scrollbar-face-color: #000000; scrollbar-base-color: #000000;
scrollbar-highlight-color: #000000; scrollbar-shadow-color: #333333;
scrollbar-3dlight-color: #333333; scrollbar-arrow-color: #CC0000;
scrollbar-track-color: #333333; scrollbar-darkshadow-color: #000000;
}

A:link, A:visited {
color:#CC0000;
text-decoration:none;
cursor:url(cursors/link.cur), default;
}

A:active, A:hover {
color:#FF0000;
text-decoration:underline overline;
cursor:url(cursors/link.cur), default;
}

p {
cursor:url(cursors/pointer.cur), default;
}[/CODE]

This is my website: [url]http://www.vvclans.com/db[/url]

Could somebody please tell me why the custom cursor will not work while the pointer is over the scrollbars? Thanks.

to post a comment
CSS

5 Comments(s)

Copy linkTweet thisAlerts:
@CentauriJul 22.2006 — I would say it is because the scrollbars are a browser-generated object that is not part of the page, and when the cursor is over a scroll bar, it is technically not on the html page.
Copy linkTweet thisAlerts:
@bmassauthorJul 22.2006 — I see, is there any possible way to fix this?
Copy linkTweet thisAlerts:
@NogDogJul 22.2006 — I see, is there any possible way to fix this?[/QUOTE]
Hmmm...that sort of assumes something is broken. Those of us who'd prefer that web page authors not meddle with our user interface might consider it a feature. ?
Copy linkTweet thisAlerts:
@bmassauthorJul 22.2006 — The cursors are not real different, they just has a small assassins touch added to them. The cursor is still the same general pointer, it is just more of a sanguine color, and the normal hand that appears on link mouseover, is just a black hand.
Copy linkTweet thisAlerts:
@ray326Jul 22.2006 — Scrollbars on the page might work ok but the browser's scrollbar is not part of the page so it shouldn't be affected by page presentation.
×

Success!

Help @bmass spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...