View Full Version : Cursor and text color help needed


NeNay
01-19-2003, 01:09 AM
I've tried several times, but no matter what I do, I can't get the normal text color or the cursor on my page to work correctly. The colors and effects applied to the link text work fine, however.

The code is as follows-

<style type="text/css">
<!--

A:link
{ text-decoration: none; color:#CC99FF }
A:visited
{ text-decoration: none; color:#CC99FF }
A:active
{ text-decoration: none; color:#CC99FF }
A:hover
{ text-decoration: line-through; color:#CC99FF;

background-color:#000033;

cursor: {e-resize}

body
{ background-color: #000033;

font-family: verdana
color: #CCCCFF ;
letter-spacing: 1pt;
font-weight:100;
font-size:x-small;

scrollbar-face-color : #000033;
scrollbar-highlight-color : #FFFFFF;
scrollbar-3dlight-color : #000033;
scrollbar-shadow-color : #000033;
scrollbar-darkshadow-color : #000033;
scrollbar-track-color : #000099;
scrollbar-arrow-color : #CCCCFF }

input, textarea
{ background: #000033;
font-family: verdana;
color: #CCCCFF;
border-style: dashed;
border-color: #CCCCFF;
border-width: 2px}

-->
</style>

If you can help me in any way, please do, and try not to make me feel too incompetent. ^^;

lefty
01-19-2003, 01:30 AM
Put a semicolon after your font-family attribute... that's probably why the text color doesn't work. You also have two random tags before your body tag, and they won't do anything hanging around there. :) Take out the background color one and put the cursor one inside the body tag. Also, you don't need those brackets around the cursor code.

NeNay
01-19-2003, 02:09 AM
<<; Ahh... thank you! *goes off and tries that*

NeNay
01-19-2003, 02:36 AM
Erp... I probably just don't understand what you were talking about, but I tried several times and it still didn't work. what exactly did you mean by your instructions? Like I said, I probably just didn't get it... I can be rather dull sometimes.

Drago_Drake
01-19-2003, 02:40 AM
Originally posted by NeNay

font-family: verdana
color: #CCCCFF ;
letter-spacing: 1pt;
font-weight:100;
font-size:x-small;




u c there after veranda, u need a ;


lol :)

lefty
01-19-2003, 02:41 AM
heh that's okay. :) I just realized that "random background code" was talking about is part of the hover code... is it? It's kind of seperate from it so I'm not sure. Either way, I stuck it in the hover attribute and if you don't want it there you can always take it out!

<style type="text/css">
<!--

A:link
{ text-decoration: none; color:#CC99FF }
A:visited
{ text-decoration: none; color:#CC99FF }
A:active
{ text-decoration: none; color:#CC99FF }
A:hover
{ text-decoration: line-through; color:#CC99FF; background-color:#000033;}

body
{ background-color: #000033;

font-family: verdana
color: #CCCCFF ;
letter-spacing: 1pt;
font-weight:100;
font-size:x-small;
cursor:e-resize;

scrollbar-face-color : #000033;
scrollbar-highlight-color : #FFFFFF;
scrollbar-3dlight-color : #000033;
scrollbar-shadow-color : #000033;
scrollbar-darkshadow-color : #000033;
scrollbar-track-color : #000099;
scrollbar-arrow-color : #CCCCFF }

input, textarea
{ background: #000033;
font-family: verdana;
color: #CCCCFF;
border-style: dashed;
border-color: #CCCCFF;
border-width: 2px}

-->
</style>

Do you want the crosshair all the time, or only on hover? I should have asked that before. :P

NeNay
01-19-2003, 03:10 AM
Thank you for the help, first of all. ^.^ Now the cursor works, but unfortunately, the thing about the normal text remaining black despite all efforts to change it remains a problem- I'm beginning to think that Angelfire is doing this on purpose, just to spite me. Take a look, if you wish. (http://www.angelfire.com/anime5/belldreams/)

lefty
01-19-2003, 03:13 AM
Bah, I forgot the ; after verdana. put that in and see if it works. :P If not, trying taking out the # before the color, not sure if that'll do anything.

NeNay
01-19-2003, 03:19 AM
It worked! n_n! Thanks so much, you've been a HUGE help, and I think I MAY have actaully learned something! O-o; Incredible, huh?
*runs gleefully around in circles*

lefty
01-19-2003, 03:20 AM
yay! I'm glad it worked :D It's always the silly little things that make something not work out...