View Full Version : What is wrong with this code??


hunnybun
06-23-2003, 12:25 PM
Hey! Once AGAIN i need soem cursor help..this cursor thing doesn't reaaly work very well..Ok, my cursor will work everywhere on my page acsept there I want it most, over my links!! It's just the normal old cursor when i put it over my links..Here is the code.

<HTML>
<HEAD> <style type="text/css">
<!--
body{
scrollbar-3dlight-color:#FF9900;
scrollbar-arrow-color:#FF6699;
scrollbar-base-color:#FF9900;
scrollbar-darkshadow-color:#FF6699;
scrollbar-face-color:#FF9900;
scrollbar-highlight-color:#FF6699;
scrollbar-shadow-color:#FF9900;
font-family: comic sans ms;
color: #FFFFFF;
letter-spacing: 1pt;
font-weight: normal;
font-size: 8pt;
cursor: crosshair ; }

A:link
{ text-decoration: underline overline; color:#FFFFFF }
A:visited
{ text-decoration: underline overline; color:#FFFFFF }
A:active
{ text-decoration: underline overline; color:#FFFFFF}
A:hover
{ text-decoration: underline overline; color:#FFFFFF;}
-->
</STYLE>
<TITLE></TITLE>
</HEAD><body bgcolor="#FF9900">
<BODY><basefont="comic sans ms" size="1" color="#FFCCFF">

HUGE PROBLEM! Please reply asap, cause i will be away for a month and i want it fixed now *lol*

Dude128
06-23-2003, 12:32 PM
you have to put the cursor:crosshair; into each section that you want it to affect- so if you want it to be a crosshair when you hover over links, for example, you have to put it in the A:hover section also. also, if you have the same code in each link section, I believe you can separate that into an A section as well, like so:

A {
cursor:crosshair;
text-direction:underline overline;
color:#FFFFFF }

try that instead- I think something along those lines should work, then you won't need each of those A:... sections, because they all have the same code anyway :P

also, you have two <body> tags- you should get rid of one of those :)