Elxis CMS Forum

Support => General => Topic started by: xmanhattan on August 06, 2008, 15:21:20

Title: editor and table spacing
Post by: xmanhattan on August 06, 2008, 15:21:20
Hello all,

When I include a small table in my content and assign cellspacing of 10 it shows correctly in the editor but when I display the page the text is on the border.

Does this mean that the table spacing is using some css property rather than the assigned editor table property?

Petros
Title: Re: editor and table spacing
Post by: datahell on August 06, 2008, 19:06:31
Yes, most probably css is being applied to the table.
You can use in line style to fix this.

If you want cellspacing:
<td style="margin: 10px;">....</td>

If you want cellpadding:
<td style="padding: 10px;">....</td>