Hello. Please advise what is wrong in the following code that align and border attributes change when mouse is over the table, except the background color.
<table id="myTable" width="200px" cellpadding="0px" cellspacing="0px">
<tr>
<td>One</td>
<td>Two</td>
<td>Three</td>
</tr>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
</tr>
</table>
<script>
myTable.onmouseover = function(){
myTable.setAttribute("align","center");
myTable.setAttribute("border","1px solid");
myTable.setAttribute("bgcolor","#FF0000");
};
</script>