5 replies [Last post]
mpj
Offline
Regular
Last seen: 15 years 29 weeks ago
Joined: 2005-01-25
Posts: 16
Points: 0

.catgmenu a, .catgmenu a:link, .catgmenu a:visited
{
background: ;
font-size: 15px;
font-family: Arial, Helvetica, sans-serif;
padding: 3px 2px 3px 5px;
text-decoration: none;
color: #646464;
display: block;
}

.catgmenu a:hoover{
color: Aqua;
}

<TD class="catgmenu">{content}<BR></TD>

The hoover doesn't work. Any ideas?

mpj
Offline
Regular
Last seen: 15 years 29 weeks ago
Joined: 2005-01-25
Posts: 16
Points: 0

CSS not working - hover color problem

LOL!!!

hover, not hoover Laughing out loud

Anonymous
Anonymous's picture
Guru

CSS not working - hover color problem

mpj wrote:
...hoover Laughing out loud
Laughing out loud It sweeps up all the errors. Laughing out loud

degas261
degas261's picture
Offline
Regular
New York
Last seen: 15 years 38 weeks ago
New York
Timezone: GMT-5
Joined: 2004-11-18
Posts: 23
Points: 0

CSS not working - hover color problem

Is the [CONTENT] an anchor or link to somewhere else?

The suburbs have the charms to soothe the restless dreams of youth...

-Neil Peart, Rush

htmlguy
Offline
newbie
Last seen: 15 years 22 weeks ago
Joined: 2005-03-12
Posts: 8
Points: 0

What I Usually Do

First Of all, as others have said it's hover not hoover Laughing out loud . If you still have problems you may want to use classes like this.

a:link.catgmenu { color: #000000 }
a:visited.catgmenu { }
a:hover.catgmenu { }

Hope this helps! And for others that know me...I stopped using tables!

HTMLGuy

wolfcry911
wolfcry911's picture
Offline
Guru
MA, USA
Last seen: 6 years 23 weeks ago
MA, USA
Timezone: GMT-5
Joined: 2004-09-01
Posts: 3224
Points: 237

Re: What I Usually Do

htmlguy wrote:
First Of all, as others have said it's hover not hoover Laughing out loud . If you still have problems you may want to use classes like this.

a:link.catgmenu { color: #000000 }
a:visited.catgmenu { }
a:hover.catgmenu { }

Hope this helps! And for others that know me...I stopped using tables!

HTMLGuy

First, it won't help because that's not the right syntax. CSS classes with psuedo classes are written like this:

a.catgmenu:link, a.catgmenu:visited

etc. and doing that would mean he would have to add class attributes to all his anchors. His current method will select all anchors in class catgmenu.

Secondly, Glad to hear you dropped tables. Just don't forget that they do serve a purpose - tabular data.