Ashura: zwei verschiedene Links

Beitrag lesen

Hallo El.

ich steh aufm schlauch...

Jap. Marke Feuerwehrschlauch.

Also bisher siehts so dann aus:

<style type="text/css">

[code lang=css]a:link { text-decoration:none; font-weight:bold; color:#000000; }
a:visited { text-decoration:none; font-weight:bold; color:#000000; }
a:hover { text-decoration:none; font-weight:bold; background-color:#0080FF; }
a:active { text-decoration:none; font-weight:bold; background-color:#0080FF; }
a:focus { text-decoration:none; font-weight:bold; background-color:#0080FF; }
.nav a: { background-color:#000000 }


> </style>[/code]  
  
Der letzte Selektor ist fehlerhaft, muss also ignoriert werden.  
  
Wenn du sämtliche a-Elemente innerhalt eines Elementes mit der Klasse „nav“ selektieren möchtest, muss dies so ausehen:  
  
~~~css
.nav a {  
  /* Regeln */  
}

<class="nav"> <p><a href="Index.html"><b>Home</b></a><br>

<a href="Termine.html">Termine</a><br>
            <a href="Infos.html">Infos</a><br>
            <a href="Wir.html">Wir</a><br>
            <a href="Bilder.html">Bilder</a></p>
</class>

  
Es gibt in (X)HTML kein class-Element. Wenn überhaupt, dann müsstest du dem p-Element <http://de.selfhtml.org/html/referenz/attribute.htm#p#universalattribute@title=die Klasse verpassen>.  
  
Aber auch dies wäre noch wenig geeignet, da du hier ganz offensichtlich eine Auflistung von Verweisen hast, welche du auch in eine <http://de.selfhtml.org/html/text/listen.htm@title=Liste> packen solltest.  
  
  
Einen schönen Freitag noch.  
  
Gruß, Ashura  

-- 
sh:( fo:} ch:? rl:( br: n4:~ ie:{ mo:| va:) de:> zu:} fl:( ss:) ls:[ js:|  
„It is required that HTML be a common language between all platforms. This implies no device-specific markup, or anything which requires control over fonts or colors, for example. This is in keeping with the SGML ideal.“  
[[HTML Design Constraints: Logical Markup](http://www.w3.org/History/19921103-hypertext/hypertext/WWW/MarkUp/HTMLConstraints.html)]