Forum Moderators: open
<script>
var tmp = document.getElementById('test1');
if (tmp) {
tmp.style.backgroundColor = '#FF0000'; // red background
tmp.style.color = '#008000'; // green text
}
</script>
It should be possible to change styles for tables and table cells, however, if you wish to change styles for table rows, you should test browser compatibility.
Kaled.