arthurh88
asked on
Change hyperlink color in a layer (CSS)
probably a basic question, but in my CSS i have this:
a:link { color: navy; }
a:visited { color: navy; }
a:hover { color: whitesmoke; background-color: #474B39;}
a:active { color: #FFFFFF; }
which works great to set the default on my page. But there is one div layer in my document that I want my hyperlinks to be a different color than the default. My CSS for that section reads:
.recuadro{
background-image:url(image s/back_rec uadro.jpg) ;
background-position:top;
background-repeat:repeat-x ;
min-height:50px;
width:100%;
}
what do I need to add to make hyperlinks in that area a different color than the default? My page is xhtml 1.1 strict. TY!
a:link { color: navy; }
a:visited { color: navy; }
a:hover { color: whitesmoke; background-color: #474B39;}
a:active { color: #FFFFFF; }
which works great to set the default on my page. But there is one div layer in my document that I want my hyperlinks to be a different color than the default. My CSS for that section reads:
.recuadro{
background-image:url(image
background-position:top;
background-repeat:repeat-x
min-height:50px;
width:100%;
}
what do I need to add to make hyperlinks in that area a different color than the default? My page is xhtml 1.1 strict. TY!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
.recuadro a, .recuadro a:link, .recuadro a:visited, .recuadro a:active{
color: #555555;
}