Forums / Setup & design / Creating custom table. With custom tags in online editor ?

Creating custom table. With custom tags in online editor ?

Author Message

laurent le cadet

Wednesday 01 October 2003 9:40:14 am

Hi,

I'm trying to create tables with specific design.
For that I'm using the online editor :
- insert a table
- insert a custom tag in each cell

The tags I'm using are something like this (no laugh please ;-) :

<table width="100 %" border="0"><tr><td class="bga">
{switch name=Sw match=$content}
{case match="<p></p>"}
 
{/case}
{case match=""}
 
{/case}
{case}
{$content}
{/case}
{/switch}
</td></tr>
</table>

It works but as we can see it insert a new table in each cell which is very very messy.

Is there a cleaner way to do that, adding rows and column with specifics classes for each ?

I tryed also with headers, just like this :

<header level='1'>Evolution sur...</header>
<table border='0' width='100%'>
<tr>
<td><header level='2'>Année fsfsfsf</header></td>
<td><header level='2'>1996</header></td>
</tr>
<tr>
<td><header level='2'>I need a H3 here </header></td>
<td><header level='2'>I need a H3 here </header></td>
</tr>
</table>

But I can't manage to organised them as I want. h3 (I want in the second row) turn to h2.
Thanks.

Laurent