[GastForen

  • Suche
  • Hilfe
  • Lesezeichen
  • Benutzerliste
Forenindex -- Lesezeichen

2 Lesezeichen für css-navigation

Link-Formate in Navigationsleiste
Es gibt noch eine CSS-only Lösung:

- In jeder Seite weist du dem body tag eine unique ID zu, z.B. <body id="home">

- Im CSS spezifizierst du den Link style für jede Seite, z.B.
#three #nav #n3 a:link,
#three #nav #n3 a:visited {
text-transform: uppercase;
color: #FFFF00;
}

d.h. #three = Seiten - ID (body ID),
#nav = Navigations-Block (div id),
#n3 = Navigations-Item
...
ganesh
17. Sep 2006, 10:31
Link-Formate in Navigationsleiste
Hier noch ein kleines Demo
...
ganesh
17. Sep 2006, 10:37