is there a way to apply certain settings to elements within another element?
ok... example
say i want to apply the same settings to all the text in the <div> section including my table.
so not just the word "test" but also "some text" etc should be bold.
of course i could add class=" .... to all the <td> tags but it there a nicer way?
ok... example
| Code: |
|
<style> .someclass{font-weight:bold;} </style> <div class="someclass"> test <table border="1"> <tr> <td>some text</td> <td>some text</td> </tr> <tr> <td>some text</td> <td>some text</td> </tr> </table> </div> |
say i want to apply the same settings to all the text in the <div> section including my table.
so not just the word "test" but also "some text" etc should be bold.
of course i could add class=" .... to all the <td> tags but it there a nicer way?
