Je bent niet ingelogd.

  • |

#1 16-Sep-2020 14:51:44

warp
Administrator

Create table in forum

The solution:

Define three custom BBCodes:

    define table BBCode
   

 [table]{TEXT}[/table] 

   

<table border="1">{TEXT}</table>

    define tr BBCode
   

[tr]{TEXT}[/tr]

   

<tr>{TEXT}</tr>

    define td BBCode
   

[td]{TEXT}[/td]

   

<td style="padding:0 10px 0 10px;">{TEXT}</td>

and then your code should work, too.

BTW The whole table has to be entered on a single line otherwise there will be a gap in the post (probably related to <br /> inserted in post's EOL mentioned elsewhere on the forum).
Top

Source

Offline

Bulletin Board voettekst