Forums / General / Problem with alignment Cells in Online Editor
source pixel
Thursday 20 December 2007 8:39:49 pm
Hi,
I want control the horizontal and vertical alignment in table cells, using the valign or align attribute
Example:
<table width="100%" border="1" cellspacing="0" cellpadding="2"> <tr valign="middle" align="center"> <td> Test1<br /> Test1<br /> Test1 </td> <td>Test2</td> <td>Test3</td> </tr> <tr valign="top"> <td align="right">Test4</td> <td> Test5<br /> Test5<br /> Test5<br /> </td> <td valign="middle">Test6</td> </tr> <tr valign="middle" align="center"> <td>Test7</td> <td> Test8<br /> Test8<br /> Test8<br /> </td> <td>Test9</td> </tr> <tr valign="top" align="center"> <td colspan="3"> Test10<br /> Test10<br /> Test10<br /> </td> </tr> </table>
Can anyone tell me how to make it in Online Editor Thanks