Tryit Editor v1.4

<html> <head> <script type="text/javascript"> function valignCell() { var x=document.getElementById('myTable').rows[0].cells; x[0].vAlign="bottom"; } </script> </head> <body> <table id="myTable" border="1" height="70%"> <tr> <td>First cell</td> <td>Second cell</td> </tr> <tr> <td>Third cell</td> <td>Fourth cell</td> </tr> </table> <form> <input type="button" onclick="valignCell()" value="Vertical align cell content"> </form> </body> </html> | Your Result:
Edit the code above and click to see the result. | W3Schools.com - Try it yourself