View Full Version : y cant i see the hover?


cupids90
11-04-2003, 06:08 AM
This is my css text, but for the <p>, the align is still not jusitfied and for the hoverm the code does not seem to work at all!!! help!!!

<style type="text/css">
body
{ background: #ffffff;
font-family: verdana;
color: #000000 ;
letter-spacing: 2pt;
font-weight: normal;
font-size: small;

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

p
{font-family: verdana;
color: black;
align:justify;}

td
{ font-family: verdana;
font-size: 10px;
color: #000000;
border:1pt solid #000000;}

td.header
{ font-family: verdana;
color: #000000 ;
letter-spacing: 3px;
font-weight: normal;
font-size: x-small;}


input, textarea
{ background: #000000
font-family: verdana;
color: #000000;
border-style: ridge;
border-color: #000000;
border-width: 1px}

a:hover
(text-decoration:none; color:#ff3399;}

a:link
{text-decoration:none; color:#ffcc00}

a:active
{text-decoration:none; color:#ffcc00}

a:visited
{text-decoration:none; color:#ffcc00;
cursor:crosshair;}
</style>


thanks

Rosey
11-04-2003, 06:20 AM
For the hover the problem is this:

You have this:



(text-decoration:none; color:#ff3399;}

The bold should be a {

For the justify, you need to put text-align:justify

That should do it.

cupids90
11-04-2003, 06:45 AM
nope...it still doesnt work! It only works for the link that does not exist, but for the rets that exists, the hover color is still not changed...sigh...

Rosey
11-04-2003, 07:04 AM
Ok, I looked at it and noticed you had a few ; missing too but for some reason on Netscape if you put that a:hover before the a:link it doesn't work.

I tried it on some of my layouts that I know work and if i place the hover before the link it doesn't work...weird but that's netscape.

try this:


body
{ background: #ffffff;
font-family: verdana;
color: #000000 ;
letter-spacing: 2pt;
font-weight: normal;
font-size: small;

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

p
{font-family: verdana;
color: black;
align:justify;}

td
{ font-family: verdana;
font-size: 10px;
color: #000000;
border:1pt solid #000000;}

td.header
{ font-family: verdana;
color: #000000 ;
letter-spacing: 3px;
font-weight: normal;
font-size: x-small;}


input, textarea
{ background: #000000;
font-family: verdana;
color: #000000;
border-style: ridge;
border-color: #000000;
border-width: 1px;}


a:link
{
text-decoration:none; color:#ffcc00;}

a:active
{text-decoration:none; color:#ffcc00;}

a:visited
{text-decoration:none; color:#ffcc00;
cursor:crosshair;}

a:hover
{text-decoration:none;
color:#ff3399;}

cupids90
11-06-2003, 06:13 AM
thanks!!! It works!! Rosey...I love you!! Muacks!!! haha...