<html><head><script type="text/javascript">function alignRow(){ var x=document.getElementById('myTable').rows x[0].align="right"}</script></head><body><table width="60%" id="myTable" border="1"><tr><td>1</td><td>2</td></tr><tr><td>1</td><td>2</td></tr><tr><td>1</td><td>2</td></tr></table><form><input type="button" onclick="alignRow()" value="Align first row"></form></body></html>
Name (required)
email (will not be published) (required)
Website