Patrick Stadelhofer: Wieso wird der Text nicht weiss??

Hi.

Bitte kopiert mal folgenden Text in den Editor und guckt euch dann die Seite an:

<html>
<head>
<title>navigation</title>
</head>
<body bgcolor="black" text="blue" link="blue" alink="blue" vlink="blue">
<font size=6>NAVIGATION</font><p><font size=5><b>
<a href="newsmenu.htm" title="News rund um den Clan">News</a><br>
<font color="white" size=3>   <a href="news.htm" title="Alle aktuellen News über den Clan" target="haupt">News</a><br>
   <a href="archiv.htm" title="Das Clannews-Archiv" target="haupt">Archiv</a><br>   <a href="picture.htm" title="Das Picture of the Moment: Lustige Screenshots oder Photos; Wichtige Bilder etc." target="haupt">Picture of the Moment</a></font><br>
<a href="clanmenu.htm" title="Alles über den Clan">Clan</a><br>
<a href="projektemenu.htm" title="Die Projekte des Clans">Projekte</a><br>
<a href="filesmenu.htm" title="Die Download-Datenbank des Clans: Maps, Skins, Mods, Mutators, Patches etc.">Files</a><br>
<a href="contactmenu.htm" title="Alles zum Thema Kommunikation: Guestbook, Forum, Chat">Contact</a></b></font>
</body>
</html>

Wieso werden die Unterpunkte News, Archiv und Picture of the Moment nicht weiss ???

Ich habe doch als color="white" angegeben.

CU
Patrick

  1. Grüssi,

    [...]

    <font color="white" size=3>   <a href="news.htm" title="Alle aktuellen News über den Clan" target="haupt">News</a>

    [...]

    Wieso werden die Unterpunkte News, Archiv und Picture of the Moment nicht weiss ???

    Weil bei <font color="white"><a href="#">Link</a></font> die Farbe für <a> höheren "Stellenwert" als die in <font> deklarierte Farbe hat. Du kannst entweder das Font in den Anker hinein geben (schlecht) oder du änderst die link-color im <body> (notlösung) oder du verwendest CSS (optimal): a:link {color: white;} a:hover {color:red;} ....

    Ich habe doch als color="white" angegeben.

    Tja, was soll ich sagen ... :-(

    lg bernhard

  2. link="blue" alink="blue" vlink="blue">

    Wieso werden die Unterpunkte News, Archiv und Picture of the Moment nicht weiss ???

    deswegen:
    link="blue" alink="blue" vlink="blue">

    <a> ueberlagert white

  3. Hallo Patrick,

    schreibe es einfach in dieser Form:

    <a href="news.htm"><font color="white" size=3>Picture of the Moment</font></a>

    gruß

    Dieter