christian: drei linkvarianten?

hi leute!

will in einem dokument OHNE frames drei verschiedene linkarten verwenden.
d.h. ich habe eine oben angeordnete navigationsleiste, deren links geschrieben sind, darunter eine subnavileiste - und eben die normalen links im text.

mein problem: trotz richtiger syntax bei den style sheets haut's nicht richtig hin! entweder wird alles unterstrichen (underline) oder gar nichts.

kann das überhaupt funktionieren?
plz help

lg
christian

  1. Hallo,

    ja das funktioniert. Zeig uns Dein CSS sonst kann man nix sagen.

    Gruß riethmunk

    1. damn it - der alkohol von gestern macht's mir nicht leichter... hoffe, dass jetzt meine antwort nicht dreimal im forum steht.

      also: hab schon ein paar varianten versucht, deshalb ist das CSS schon ziemlich "verwurschtelt".

      BODY {
       SCROLLBAR-FACE-COLOR: #ffffff; FONT-SIZE: 11px; SCROLLBAR-HIGHLIGHT-COLOR: #034F9B; SCROLLBAR-SHADOW-COLOR: #034F9B; COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #ffffff; SCROLLBAR-ARROW-COLOR: #034F9B; SCROLLBAR-TRACK-COLOR: #ffffff; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif; LINE-HEIGHT: 18px; SCROLLBAR-DARKSHADOW-COLOR: #034F9B
      }
      P {
       SCROLLBAR-FACE-COLOR: #ffffff; FONT-SIZE: 11px; SCROLLBAR-HIGHLIGHT-COLOR: #034F9B; SCROLLBAR-SHADOW-COLOR: #034F9B; COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #034F9B; SCROLLBAR-ARROW-COLOR: #034F9B; SCROLLBAR-TRACK-COLOR: #034F9B; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif; LINE-HEIGHT: 18px; SCROLLBAR-DARKSHADOW-COLOR: #034F9B
      }
      TD {
       SCROLLBAR-FACE-COLOR: #ffffff; FONT-SIZE: 11px; SCROLLBAR-HIGHLIGHT-COLOR: #034F9B; SCROLLBAR-SHADOW-COLOR: #034F9B; COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #034F9B; SCROLLBAR-ARROW-COLOR: #034F9B; SCROLLBAR-TRACK-COLOR: #034F9B; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif; LINE-HEIGHT: 18px; SCROLLBAR-DARKSHADOW-COLOR: #034F9B
      }
      BLOCKQUOTE {
       SCROLLBAR-FACE-COLOR: #ffffff; FONT-SIZE: 11px; SCROLLBAR-HIGHLIGHT-COLOR: #034F9B; SCROLLBAR-SHADOW-COLOR: #034F9B; COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #034F9B; SCROLLBAR-ARROW-COLOR: #034F9B; SCROLLBAR-TRACK-COLOR: #034F9B; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif; LINE-HEIGHT: 18px; SCROLLBAR-DARKSHADOW-COLOR: #034F9B
      }
      LI {
       SCROLLBAR-FACE-COLOR: #ffffff; FONT-SIZE: 11px; SCROLLBAR-HIGHLIGHT-COLOR: #034F9B; SCROLLBAR-SHADOW-COLOR: #034F9B; COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #034F9B; SCROLLBAR-ARROW-COLOR: #034F9B; SCROLLBAR-TRACK-COLOR: #034F9B; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif; LINE-HEIGHT: 18px; SCROLLBAR-DARKSHADOW-COLOR: #034F9B
      }
      UL {
       SCROLLBAR-FACE-COLOR: #ffffff; FONT-SIZE: 11px; SCROLLBAR-HIGHLIGHT-COLOR: #034F9B; SCROLLBAR-SHADOW-COLOR: #034F9B; COLOR: #000000; SCROLLBAR-3DLIGHT-COLOR: #034F9B; SCROLLBAR-ARROW-COLOR: #034F9B; SCROLLBAR-TRACK-COLOR: #034F9B; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif; LINE-HEIGHT: 18px; SCROLLBAR-DARKSHADOW-COLOR: #034F9B
      }
      BODY H1 {
       FONT-WEIGHT: bold; FONT-SIZE: 18px; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif
      }
      TD H1 {
       FONT-WEIGHT: bold; FONT-SIZE: 18px; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif
      }
      BODY H2 {
       FONT-WEIGHT: bold; FONT-SIZE: 16px; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif
      }
      TD H2 {
       FONT-WEIGHT: bold; FONT-SIZE: 16px; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif
      }
      BODY H3 {
       FONT-WEIGHT: bold; FONT-SIZE: 14px; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif
      }
      TD H3 {
       FONT-WEIGHT: bold; FONT-SIZE: 14px; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif
      }
      BODY H4 {
       FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif
      }
      TD H4 {
       FONT-WEIGHT: bold; FONT-SIZE: 12px; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif
      }
      TH {
       FONT-WEIGHT: bold; FONT-SIZE: 12px; LINE-HEIGHT: 20px; FONT-FAMILY: arial, tahoma, verdana, helvetica, sans serif
      }

      .standard A:link {font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #034F9B; TEXT-DECORATION: none}
      .standard A:hover {font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #034F9B; text-decoration: underline}
      .standard A:{font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #034F9B; text-decoration: none}

      .smallheadlinesgreen {font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #00834B}

      .smallheadlinesblue {font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #0051A2}

      .blue {font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color: #0051A2}

      .green {font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color: #00834B}

      .headlinesblue {font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; color: #0051A2}

      .headlinesgreen {font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; color: #00834B}

      .black {font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: normal; color: #000000}

      .smallheadlinesblack {font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-weight: bold; color: #000000}

      .headlinesblack {font-family: Arial, Helvetica, sans-serif; font-size: 13px; font-weight: bold; color: #000000}

      .smallheadlinesblack2 {font-family: Arial, Helvetica, sans-serif; font-size: 10px; LINE-HEIGHT: 10px; font-weight: bold; color: #000000}

      .smallheadlinesbluesmall {font-family: Arial, Helvetica, sans-serif; font-size: 9px; font-weight: bolder; color: #0051A2}

      .smallheadlinesbluesmall A:link {font-family: Arial, Helvetica, sans-serif; font-size: 9px; font-weight: bold; color: #0051A2}
      .smallheadlinesbluesmall A:hover {font-family: Arial, Helvetica, sans-serif; font-size: 9px; font-weight: bold; color: #0051A2}

      .markierung {font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-weight: lighter; color: #FF0000; text-decoration: underline}

      .naviheadlinesblue A:link {font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #0051A2; TEXT-DECORATION: none}
      .naviheadlinesblue A:hover {TEXT-DECORATION: underline; font-family: Arial, Helvetica, sans-serif; font-size: 10px; font-weight: bold; color: #0051A2 }

      .naviwhite A:link {font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF; TEXT-DECORATION: none}
      .naviwhite A:hover {font-family: Arial, Helvetica, sans-serif; font-size: 12px; font-weight: bold; color: #FFFFFF; text-decoration: underline}

      1. Hallo,

        probiers mal so:

        1.class:

        a.standart {  font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-weight: normal; color: #990505;  text-decoration : none; }
        a.standart:hover {  font-family: Arial, Helvetica, sans-serif; font-size: 11px; font-style: normal; font-weight: normal; color: #990505;  text-decoration : underline; }

        2.class

        a.standartzwei {  font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-style: normal; font-weight: normal; color: #990505;  text-decoration : none; }
        a.standartzwei:hover {  font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-style: normal; font-weight: normal; color: #990505;  text-decoration : underline; }

        3.class

        a.standartdrei {  font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-style: normal; font-weight: normal; color: #990505;  text-decoration : none; }
        a.standartdrei:hover {  font-family: Arial, Helvetica, sans-serif; font-size: 15px; font-style: normal; font-weight: normal; color: #990505;  text-decoration : underline; }

        <a href="#" class="standart">
        oder
        <a href="#" class="standartzwei">
        oder
        <a href="#" class="standartdrei">

        1. HI!

          hat spitzenmäßig funktioniert : ))

          glaube der fehler lag echt daran, dass ich die "class" nicht im a href selbst definiert hatte!

          herzlichen dank und einen schönen
          freitag den 13.

          -christian-

          1. Hallo,

            glaube der fehler lag echt daran, dass ich die "class" nicht im a href selbst definiert hatte!

            ich wage dennoch zu behaupten, daß Dein Ursprüngliches Stylesheet auch funktionieren sollte (hab nur oberflächlich drübergeguckt), wenn denn die <a ...> - Tags ordentlich in Elementen mit der entsprechenden Klasse stehen.

            Schönen Gruß aus Bilk

            Rainer

  2. hi leute!

    will in einem dokument OHNE frames drei verschiedene linkarten verwenden.
    d.h. ich habe eine oben angeordnete navigationsleiste, deren links geschrieben sind, darunter eine subnavileiste - und eben die normalen links im text.

    mein problem: trotz richtiger syntax bei den style sheets haut's nicht richtig hin! entweder wird alles unterstrichen (underline) oder gar nichts.

    kann das überhaupt funktionieren?
    plz help

    lg
    christian

    Hi,

    hast du mal versucht, den Style direkt mit dem Link zu verbinden?
    So z.B.: <a style="color=white" href="..."> (halt nur mit deinen Wünschen)
    Ansonsten fällt mir auch nix ein.

    MFG, KoelnerBincehn