css frage

Seite 1 von 1 - Forum: Coding Stuff auf overclockers.at

URL: https://www.overclockers.at/coding-stuff/css_frage_23249/page_1 - zur Vollversion wechseln!


that schrieb am 18.01.2001 um 19:23

Das geht auch eleganter:

Code:
<style type="text/css">
table a:link { color:black;}
</style>

Damit sind ALLE Links in Tables schwarz.
Wenn du es nur für manche Tables willst:

Code:
<style type="text/css">
table.black a:link { color:black;}
</style>

und die Tables mit class="black" definieren.


Ezekiel schrieb am 18.01.2002 um 14:51

also folgendes :
Ich will für die ganze seite die links so machen :

Zitat
<style type="text/css">

a:link { color:black;}

a:visited { color:black;}

a:active { color:orange; text-decoration: none; }

a:hover { color:orange; text-decoration: none; }

</style>

Aber in einer Tabelle will ich die Links anders machen , nämlich weiß und fett und nicht unterstrichen. Das müsste doch gehen, indem ich das so in den table tag schreibe ?!!?

Zitat
<table border=0 align=center width=80% style="

a:link { color:white; text-decoration: none; font weight:'bold'; }

a:visited { color:white; text-decoration: none; font weight:'bold'; }

a:active { color:white; text-decoration: none; font weight:'bold'; }

a:hover { color:white; text-decoration: none; font weight:'bold'; }

">

Geht aber nicht ! :(
daher meine frage : wie geht das ??? bzw. was ist da falsch ?
thx für alle antworten im vorraus


schrieb am 18.01.2002 um 14:53

nö, du musst das in den < a tag vom link direkt reinschreiben


Ezekiel schrieb am 18.01.2002 um 15:00

thx :D


Ezekiel schrieb am 19.01.2002 um 14:54

thx that ... genau so was hab ich gesucht !
irgendwas stimmt mit der zeit nicht ?!?! :confused:


schrieb am 19.01.2002 um 14:55

Zitat von Ezekiel
thx that ... genau so was hab ich gesucht !
irgendwas stimmt mit der zeit nicht ?!?! :confused:
gestern am abend war das board etwas betrunken :D


Ezekiel schrieb am 19.01.2002 um 14:57

:D was hat da h4p3 denn trunken :D :D :D




overclockers.at v4.thecommunity
© all rights reserved by overclockers.at 2000-2026