a hover und visited

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • a hover und visited

    Hallo,

    habe eine frage:

    Wie muss der befehl lauten, um das selbe ergebnis zu erzielen eines visited links wie dem eines a hovers ?

    Code:

    A:link {font-size: 10pt; text-decoration: underline; color:#0000ff}
    A:hover { font-size: 10pt; text-decoration: underline; color:#a5e3a5}
    A:link { font-size: 10pt; text-decoration: underline; color:#0000ff}
    A:visited {font-size: 10pt; text-decoration: underline; color:#0000ff

    sodass sich quasi beim besuchten links nichts ändert und alles so bleibt wie beim a:hover ?

    kann aber a:visited nicht entfernen, da sonst die Standardeinstellungen greifen....danke im Vorraus und Gruß

    Toni

  • #2
    <style type="text/css">
    <!--
    A:link {font-size: 10pt; text-decoration: underline; color:#0000ff}
    A:hover { font-size: 10pt; text-decoration: underline; color:#a5e3a5}
    A:visited {font-size: 10pt; text-decoration: underline; color:#0000ff}

    -->
    </style>

    Comment


    • #3
      oder wenn du kürzer magst:

      <style type="text/css">
      <!--
      A:link, A:visited {font-size: 10pt; text-decoration: underline; color:#0000ff}
      A:hover { font-size: 10pt; text-decoration: none; color:#a5e3a5}
      -->
      </style>

      Comment

      Working...
      X