Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change color of table cell on hover 1

Status
Not open for further replies.

AlbertAguirre

Programmer
Nov 21, 2001
273
US
how!?!?!? I have spent countless hours on this. Heres my code:
.subNavBox {
BACKGROUND: #555555;
font-weight: bold;
color: #888888;
font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 12px;
border-style: solid;
border-color: #000000;
border-left-width: 1px;
border-right-width: 0px;
border-top-width: 1px;
border-bottom-width: 0px;
}

.subNavBox:hover {
BACKGROUND: #000000;
COLOR: #000000;
}

Why doesnt this work? I know its simple isnt it?

Help a noob and secure your place in heaven!
 
Are you using IE6? If so, the :hover pseudoclass is only supported on <a> elements. You'll have to upgrade to a smarter browser (IE7, FF, Opera, Safari, etc..) to get to use the :hover functionality on anything other than an anchor.

-kaht

Lisa, if you don't like your job you don't strike. You just go in every day and do it really half-assed. That's the American way. - Homer Simpson
[small]<P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <B> <P> <.</B> bites again.[/small]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top