Salokin: inherit

Beitrag lesen

Hi,

das folgende Testbeispiel tut genau das, was Du willst (zumindest Mozilla und Konqueror):

<html>
<head>
<style type="text/css">
a {
color:red }
td>a {
color:inherit }
</style>
</head>
<body>
<div><a href="javascript:void(0)">Link 1</a></div>
<table>
<tr>
<td style="color:green">Hier ist <a href="javascript:void(0)">Link 2</a></td>
<td style="color:purple">Und hier kommt <a href="javascript:void(0)">Link 3</a></td>
</tr>
</table>
</body>
</head>

Vielleicht hilft Dir das weiter.

Salokin