View Full Version : My css isn't working


Jared
11-23-2003, 07:40 PM
I am using an external style sheet, and this is my code:

A:link
{ text-decoration: underline;
A:visited
{ text-decoration: underline;
A:active
{ text-decoration: underline overline;
A:hover
{ text-decoration: blink;

background-color: #A3A3A3;

cursor: crosshair; }

body

font-family: Times New Roman;
color: #000000 ;

scrollbar-face-color : #000000;
scrollbar-highlight-color : #000000;
scrollbar-3dlight-color : #000000;
scrollbar-shadow-color : #000000;
scrollbar-darkshadow-color : #000000;
scrollbar-track-color : #000000;
scrollbar-arrow-color : #000000;
}

input, textarea
{ background: #C8C8C8;
font-family: Times New Roman; [your font name]
color: gray;
border-style: dashed; [dotted, dashed, solid, double, groove, ridge, inset, outset]
border-color: #000000;
border-width: 1; [numerical value, 5, 6, 8...] }

-----------------------------------------------------------------------------------
It is saved as mycss.css

Rosey
11-23-2003, 07:57 PM
You forgot a { after body, if that doesn't fix the problem, what part exactly isn't working?

kittycat
11-23-2003, 08:48 PM
Remove every bit in the input section between a [ and ] (including the brackets).

You forgot a closing } after each of your link sections except a;hover

Jared
11-24-2003, 12:56 AM
A:link
{ text-decoration: underline; }
A:visited
{ text-decoration: underline; }
A:active
{ text-decoration: underline overline; }
A:hover
{ text-decoration: blink;

background-color: #A3A3A3;

cursor: crosshair; }

body
{
font-family: Times New Roman;
color: #000000 ;

scrollbar-face-color : #000000;
scrollbar-highlight-color : #000000;
scrollbar-3dlight-color : #000000;
scrollbar-shadow-color : #000000;
scrollbar-darkshadow-color : #000000;
scrollbar-track-color : #000000;
scrollbar-arrow-color : #000000;
}

input, textarea
{ background: #C8C8C8;
font-family: Times New Roman;
color: gray;
border-style: dashed;border-color: #000000;
border-width: 1;



This is my new code, realize, I suck with css.

Rosey
11-24-2003, 01:13 AM
Sok, that's how you learn.

You need one more } at the bottom.

does it work?

Jared
11-24-2003, 01:16 AM
ok, I just redid it, and everything works, but the cursor. I saved it as cross.gif. Here is my new code:

A:link
{ text-decoration: underline; color:#000000; }
A:visited
{ text-decoration: underline; color:#000000; }
A:active
{ text-decoration: underline overline; color:#000000; }
A:hover
{ text-decoration: blink; color:#000000;}

body
{ background: #A3A3A3;

cursor: url(https://www.hunkydori.com/cross.gif);

font-family: Arial;
color: #000000 ;
scrollbar-face-color : #000000;
scrollbar-highlight-color : #000000;
scrollbar-3dlight-color : #000000;
scrollbar-shadow-color : #000000;
scrollbar-darkshadow-color : #000000;
scrollbar-track-color : #000000;
scrollbar-arrow-color : #000000;

margin-top: 0;
margin-bottom: 0;
margin-left: 0;
margin-right: 0;
padding-top: 0;
padding-bottom: 0;
padding-left: 0;
padding-right: 0;
}

input, textarea
{ background: #000000
font-family: Helvetica;
color: #A3A3A3;
border-style: dashed;
border-color: #FF9900;
border-width: 2; }

kittycat
11-24-2003, 02:40 AM
The cursor has to be a .cur file.

Jared
11-24-2003, 03:56 AM
I can only save that picture in a bmp or a gif. How can I change it.

MaGiCSuN
11-24-2003, 03:02 PM
if you have animation shop you can save as .cur on that program :) same for image ready (part of photoshop).

animation shop can be downloaded here:
www.jasc.com
or if you allready have PSP7 it comes with it (psp8 doesn't have it)

Love,
Mirna