Este sitio utiliza cookies. Al continuar utilizando iStock, estás aceptando nuestro uso de cookies. Obtén más información aquí.

Encontrar imágenes fabulosas ahora es más fácil con más palabras clave del español. Buscar ahora >

css link styling

Mostrando 1 a 2 de 2 resultados.
Member is a Silver contributor and has 2,500 - 9,999 Photo downloadsMember is a contributor and has less than 250 Illustration downloadsExclusive
Comentado Mon Feb 13, 2012 3:17PM
Is it possible to style a link in css to show a different color when you are on the page that corresponsa to that link?
Comentado Fri Mar 16, 2012 3:20PM

You can do this manually by setting up a class such as .here with a different appearance for the <a> tag. You would have to assign that class in HTML to the appropriate line on each page.

You can do it semi-automatically by giving each page container (or body tag) its own class or id, and each menu <a> tag its own class, then using something like:

.myPage a.myPagelink { ... }

This allows you to use standard nav code in your template while retaining the special "You Are Here" styling.
El hilo ha sido bloqueado.
Mostrando 1 a 2 de 2 resultados.
¿Todavía no eres miembro?Registrarse