Wednesday 25 July 2007 12:12:40 am
Hi, Thanks for the answer. Yes I have written so in a configuration file (content.ini.append.php),
<?php /* #?ini charset="utf-8"?
[tr]
AvailableClasses[]=tr_style1
AvailableClasses[]=tr_style2
[td]
AvailableClasses[]=td_style1
AvailableClasses[]=td_style2
[table]
AvailableClasses[]
AvailableClasses[]=table_style
*/ ?>
I have created such a table with "Online editor" Example:
<table class="table_style" border="1" cellpadding="2" cellspacing="0" width="100%">
<tr class="tr_style1">
<td valign="top" class="td_style1">
<p>
1
</p>
</td>
<td valign="top" class="td_style1">
<p>
2
</p>
</td>
</tr>
<tr class="tr_style2">
<td valign="top" class="td_style2">
<p>
3
</p>
</td>
<td valign="top" class="td_style2">
<p>
4
</p>
</td>
</tr>
</table>
<b>After next editing tags "<tr class="tr_style1">" lose class attribute, we get "<tr>"</b>
<textarea class="box" name="ContentObjectAttribute_data_text_844" cols="90" rows="10">
<p><table id='table' class='table_style' width='100%' ezborder='1' border='1'><tr><td class='td_style1'><p>1</p></td><td class='td_style1'><p>2</p></td></tr><tr><td class='td_style2'><p>3</p></td><td class='td_style2'><p>4</p></td></tr></table></p><p>&nbsp;</p>
</textarea>
<p><table id='table' class='table_style' width='100%' ezborder='1' border='1'><tr><td class='td_style1'><p>1</p></td><td class='td_style1'><p>2</p></td></tr><tr><td class='td_style2'><p>3</p></td><td class='td_style2'><p>4</p></td></tr></table></p><p> </p>
<b>but the problem is not solved. Help to solve the problem.</b>
|