You can use: align="center" align="right" (default is align="left") valign="top" valign="bottom" (default is valign="middle") |
<table cellpadding="0" cellspacing="0" border="1"> <tr> <td width="150" height="100">Cell 1</td> <td width="150" height="100">Cell 2</td> <td width="150" height="100">Cell 3</td> </tr> <tr> <td width="150" height="100">Cell 4</td> <td width="150" height="100">Cell 5</td> <td width="150" height="100">Cell 6</td> </tr></table> |
Cell 1 | Cell 2 | Cell 3 |
Cell 4 | Cell 5 | Cell 6 |
<table cellpadding="0" cellspacing="0" border="1"> <tr align="center"> <td width="150" height="100">Cell 1</td> <td width="150" height="100">Cell 2</td> <td width="150" height="100">Cell 3</td> </tr> <tr align="right"> <td width="150" height="100">Cell 4</td> <td width="150" height="100">Cell 5</td> <td width="150" height="100">Cell 6</td> </tr> </table> |
Cell 1 | Cell 2 | Cell 3 |
Cell 4 | Cell 5 | Cell 6 |
<table cellpadding="0" cellspacing="0" border="1"> <tr> <td align="center" width="150" height="100">cell 1</td> <td valign="red" width="150" height="100">cell 2</td> <td valign="bottom" width="150" height="100">cell 3</td> </tr> <tr> <td align="right" width="150" height="100">cell 4</td> <td valign="top" align="right" width="150" height="100"> cell 5</td> <td valign="bottom" align="center" width="150" height="100"> cell 6</td> </tr> </table> |
cell 1 | cell 2 | cell 3 |
cell 4 | cell 5 | cell 6 |