View Full Version : Help with cursors and scrollbars


Kerowyn
04-19-2004, 10:17 PM
Right now i have a crosshair cursor on my webpage but everytime it mouses over a link it changes to a hand cursor. Is there anyway to keep it as a crosshair at all times?

And i wanted to edit the scrollbar in my iframe and i can't figure out how. I've been able to edit the scrollbar on my main page but i just can't figure out my iframe.

Thanks

kittycat
04-19-2004, 10:20 PM
Add this to your CSS...
a:hover { cursor: crosshair; }

For editing the iframe scrollbar, you have to include the scrollbar code on the page that is shown inside the iframe

Kerowyn
04-19-2004, 10:33 PM
Sweet! Ahhh that makes sense....

Thank you very much!

Kerowyn
04-19-2004, 10:47 PM
Ok it didn't seem to work kittycat...and i played around with the }'s and the order but i can't figure it out. It left it with the original code you gave me.
<style type="text/css">
<!--
BODY {
a:hover { cursor: crosshair; }
cursor: crosshair;
scrollbar-face-color: #862A1B;
scrollbar-highlight-color: #C21B15;
scrollbar-3dlight-color: #FFFCF9;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #806B4E;
scrollbar-arrow-color: #806B4E;
scrollbar-track-color: #806B4E;
}
-->
</STYLE>

If you could help further that would be great!

bourdelson
04-19-2004, 10:49 PM
The link attributes are separate from the body attributes. Try this. :)

<style type="text/css">
<!--
BODY {
cursor: crosshair;
scrollbar-face-color: #862A1B;
scrollbar-highlight-color: #C21B15;
scrollbar-3dlight-color: #FFFCF9;
scrollbar-darkshadow-color: #000000;
scrollbar-shadow-color: #806B4E;
scrollbar-arrow-color: #806B4E;
scrollbar-track-color: #806B4E;
}

a:hover { cursor: crosshair; }
-->
</STYLE>

Kerowyn
04-19-2004, 10:57 PM
Oh, ok. I didn't know that. Yeah it looks like it is different.

Thanks alot! *jumps up for joy* I love you people...you're so fast and helpful! Thanks again!