Привет. Подскажите, как сделать, чтобы во вложенных таблицах не наследовались стили внешней таблицы? Вот код, в ff работает, в IE - нет
| Код | <html> <head> <style type="text/css"> td { border: 1px solid blue; }
table.compactButtonGrid table td { height: inherit; }
table.compactButtonGrid td { height: 140px; } </style> </head> <body> <table class="compactButtonGrid"><tbody> <tr><td >x</td></tr> <tr><td> <table><tbody> <tr><td>y</td></tr> </tbody></table> </td></tr> <tr><td>x</td></tr> </tbody></table> </body> </html>
|
|