Forums / General / Problem with alignment Cells in Online Editor

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

Problem with alignment Cells in Online Editor

Author Message

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