I want to define style that have to be applied to cells of a specified
table but not to any nested tables cells.
I use:
..somestyle tbody tr td { background-color:red; }
Such construction works in Firefox , but fails in IE.
What am I doing wrong?
Example:
<html>
<head>
<style>
..somestyle tbody tr td { background-color:red; }
..t2 { background-color:green; }
</style>
</head>
<body>
<table class="somestyl e" border=1>
<tr>
<td>
11111
<table class="t2" border=1>
<tr>
<td>22222</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
TIA, Mykola
table but not to any nested tables cells.
I use:
..somestyle tbody tr td { background-color:red; }
Such construction works in Firefox , but fails in IE.
What am I doing wrong?
Example:
<html>
<head>
<style>
..somestyle tbody tr td { background-color:red; }
..t2 { background-color:green; }
</style>
</head>
<body>
<table class="somestyl e" border=1>
<tr>
<td>
11111
<table class="t2" border=1>
<tr>
<td>22222</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
TIA, Mykola
Comment