Warnung: file_put_contents(/home/www/web1/html/php_dev/test.txt) [function.file-put-contents]: failed to open stream: Permission denied in /home/www/web1/html/php_dev/sys/lib.activity.php (Zeile 58)
Link-Darstellung [Archiv] - PHP-Scripte PHP-Tutorials PHP-Jobs und vieles mehr

- Ad -
php-resource




Archiv verlassen und diese Seite im Standarddesign anzeigen :
Link-Darstellung


 
deepgreen
18-12-2001, 02:03 
 
ich will in einer tabelle das die links anderes dargestellt werden als im rest des html-files.

also in der tabelle, sollen links nicht unterstrichen sein und zusätzlich eine andere farbe habe.

kann mir vielleicht jemand einen tipp geben wie ich das zustande bringen kann?

 
wahsaga
18-12-2001, 18:57 
 
mach's mit css-klassen

 
BjörnHolger
02-01-2002, 17:11 
 
du must in deinem Style Links eine andere Farbe zuweisen.Z.b. so :

dein original :
<style>
A:link { text-decoration:underline; color:#808080 }
A:visited { text-decoration:underline; color:#800000 }
A:hover { text-decoration:underline; color:#FF0000 }
</style>

und jetzt fügst du noch andere Links-Deffinitionen dazu, zb. so :


<style>
A:link { text-decoration:underline; color:#808080 }
A:visited { text-decoration:underline; color:#800000 }
A:hover { text-decoration:underline; color:#FF0000 }

A.S:link { text-decoration:none; color:#F1F1F1 }
A.S:visited { text-decoration:none; color:#F1F1F1 }
A.S:hover { text-decoration:none; color:#000000 }
</style>

so , normalerweise sieht ja ein Link so aus :
<a href="LINK.htm"> LINK </a>
nun musst du diesem Link die Deffinition des 2.Stylesheets geben.
<a class="S" href="LINK.htm"> LINK </a>

 
Sky
02-01-2002, 17:32 
 
Anders:

<style>

A:link { text-decoration:underline; color:#808080 }
A:visited { text-decoration:underline; color:#800000 }
A:hover { text-decoration:underline; color:#FF0000 }

TD > A:link { text-decoration:none; color:#F1F1F1 }
TD > A:visited { text-decoration:none; color:#F1F1F1 }
TD > A.S:hover { text-decoration:none; color:#000000 }

</style>


Alle Zeitangaben in WEZ +2. Es ist jetzt 16:46 Uhr.