Chadi
08-19-2007, 02:47 AM
I'm trying to figure out how to change the color of links (on hover only) from the default white (linked) to any other color of my choice (linked, but hovered).
My css is below. I got the background (li) to hover with a different color, just cannot figure out the proper method to change the link color on hover as well.
/* ---------------- */
/* footer */
/* ---------------- */
#footer {
margin:auto;
margin-top:10px;
padding:18px;
/* box model hack for ie 5.5 */
width:834px;
voice-family: "\"}\"";
voice-family:inherit;
width:798px;
background-color:#9ec5e5;
border:1px solid #93c5ef;
border-top:none;
}
#footer-navigation {
color:white;
font-size:11px;
line-height:14px;
}
#footer-navigation li:hover {
background:#C3DCF1;
color:black;
}
#footer-navigation a {
color:white;
}
.f_home {
width:40px;
float:left;
margin-right:8px;
}
.f_services {
width:150px;
float:left;
margin-right:8px;
}
.f_whyus {
width:90px;
float:left;
margin-right:8px;
}
.f_support {
width:120px;
float:left;
margin-right:8px;
}
.f_about {
width:120px;
float:left;
margin-right:8px;
}
.footer-navigation-heading {
color:white;
font-size:11px;
font-family:inherit;
font-weight:normal;
background-color:#8bb6d9;
margin:0px;
padding:6px;
}
ul.f_services, ul.f_whyus, ul.f_support, ul.f_about
{
margin:0px;
padding: 0px;
}
ul.f_services li, ul.f_whyus li, ul.f_support li, ul.f_about li
{
list-style:none;
margin:0px;
padding:3px 0px 3px 0px;
border-bottom:1px dotted #fff;
}
My css is below. I got the background (li) to hover with a different color, just cannot figure out the proper method to change the link color on hover as well.
/* ---------------- */
/* footer */
/* ---------------- */
#footer {
margin:auto;
margin-top:10px;
padding:18px;
/* box model hack for ie 5.5 */
width:834px;
voice-family: "\"}\"";
voice-family:inherit;
width:798px;
background-color:#9ec5e5;
border:1px solid #93c5ef;
border-top:none;
}
#footer-navigation {
color:white;
font-size:11px;
line-height:14px;
}
#footer-navigation li:hover {
background:#C3DCF1;
color:black;
}
#footer-navigation a {
color:white;
}
.f_home {
width:40px;
float:left;
margin-right:8px;
}
.f_services {
width:150px;
float:left;
margin-right:8px;
}
.f_whyus {
width:90px;
float:left;
margin-right:8px;
}
.f_support {
width:120px;
float:left;
margin-right:8px;
}
.f_about {
width:120px;
float:left;
margin-right:8px;
}
.footer-navigation-heading {
color:white;
font-size:11px;
font-family:inherit;
font-weight:normal;
background-color:#8bb6d9;
margin:0px;
padding:6px;
}
ul.f_services, ul.f_whyus, ul.f_support, ul.f_about
{
margin:0px;
padding: 0px;
}
ul.f_services li, ul.f_whyus li, ul.f_support li, ul.f_about li
{
list-style:none;
margin:0px;
padding:3px 0px 3px 0px;
border-bottom:1px dotted #fff;
}