tutorials.de Buch-Aktion 05/2012
ERLEDIGT
NEIN
ANTWORTEN
1
ZUGRIFFE
290
EMPFEHLEN
  • An Twitter übertragen
  • An Facebook übertragen
AUF DIESES THEMA
ANTWORTEN
  1. #1
    Dolphon Dolphon ist offline Mitglied Brokat
    Registriert seit
    Jun 2003
    Beiträge
    308
    Hallo,

    ich verzweifle gerade daran die Link Darstellung nur in eine bestimmten Klassen anderes aussehen zu lassen. Wie kann ich die Links der Klasse contentframe zuordnen?

    Code css:
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    
    .contentframe {
        background: none repeat scroll 0 0 transparent;
        border: 0 none;
        float: left;
        height: auto;
        margin: 0;
        padding: 0;
        width: 1150px;/*776*/
    }
     
    a:link { text-decoration:underline; color:#e00000; }
    a:visited { text-decoration:underline; color:#e00000; }
    a:hover { text-decoration:underline; color:#00e000; }
    a:active { text-decoration:underline; background-color:#cff; }
    a:focus { text-decoration:underline; background-color:#080; }
     
    Leg dich mit dem Besten an, und stirb wie alle dann******

  2. #2
    Quaese Quaese ist offline Moderator
    tutorials.de Moderator
    Registriert seit
    Feb 2004
    Beiträge
    3.451
    Hi,

    indem du den Klassenamen vor die Linkdefinitionen schreibst.
    Code :
    1
    2
    3
    4
    5
    
    .contentframe a:link { text-decoration:underline; color:#e00000; }
    .contentframe a:visited { text-decoration:underline; color:#e00000; }
    .contentframe a:hover { text-decoration:underline; color:#00e000; }
    .contentframe a:active { text-decoration:underline; background-color:#cff; }
    .contentframe a:focus { text-decoration:underline; background-color:#080; }
    Ciao
    Quaese
     
    Vielleicht muss man manchmal vom Weg abkommen, um nicht auf der Strecke zu bleiben!
    ----
    Der "Fortsetzungsroman" auf www.leuteforum.de

    New kind to realize large scalable projects with jQuery: jQuery SDK

Ähnliche Themen

  1. Mouseover Link in einer Klasse
    Von Gregor_07 im Forum CSS
    Antworten: 2
    Letzter Beitrag: 13.11.07, 18:35
  2. Darstellung link falsch
    Von buddha im Forum CSS
    Antworten: 22
    Letzter Beitrag: 21.06.07, 00:25
  3. Klasse für a:link
    Von FingerSkill im Forum CSS
    Antworten: 2
    Letzter Beitrag: 24.05.07, 01:20
  4. Antworten: 4
    Letzter Beitrag: 10.09.04, 12:54
  5. link-darstellung
    Von deepgreen im Forum HTML & XHTML
    Antworten: 7
    Letzter Beitrag: 19.12.01, 07:56