![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
26/10/2004, 11:55
|
![Avatar de JuanKa](http://static.forosdelweb.com/customavatars/avatar73531_1.gif) | | | Fecha de Ingreso: septiembre-2004
Mensajes: 468
Antigüedad: 20 años, 5 meses Puntos: 1 | |
Novato en CSS con enlaces Hola a todos estado leyendo por alli algunos manuales de css sobre como cambiar el color a los enlaces.
lo que pasa que tengo que 3 tipos de enlaces y quiero que para tipo sean de diferentes colores.
Tipo 1
a:link {text-decoration: none; color: #000000;}
a:visited {text-decoration: none; color: #FFFFFF;}
a:hover {text-decoration: none; color: #F7C459;}
a:active {text-decoration: none; color: #FFFF00;}
Tipo 2
a:link {text-decoration: none; color: #FFCC00;}
a:visited {text-decoration: none; color: #FFFFFF;}
a:hover {text-decoration: none; color: #FF00CC;}
a:active {text-decoration: none; color: #000000;}
Tipo 3
a:link {text-decoration: none; color: #XXXXXX;}
a:visited {text-decoration: none; color: #FFFFFF;}
a:hover {text-decoration: none; color: #AAAAAA;}
a:active {text-decoration: none; color: #CCDDFF;}
ESOS NUMEROS HEXAGESIMALES SON EJEMPLOS.
COMO HARIA PARA HACERLO EN UNA HOJA DE ESTILLO (*.CSS) DE TAL MANERA QUE UN PAGINA (.PHP) LE DIGA PARA TAL ENLACE QUIERO ESTE TIPO1, PARA ESTE OTRO ESTE TIPO2 E IGUAL CON EL TERCERO.
LO QUE PASA ES QUE ESTOY HACIENDO UNA WEB Y CUANDO CAMBIO EL COLOR DE LOS ENLACES ME LO CAMBIA ABSOLUTAMENTE LOS TRES ENLACES, POR ESO ES QUE DESEO HACER UN CSS.
OJALA ME PUEDAN AYUDAR.
GRACIAS Y SALUDOS A TODOS DE ESTE FORO. |