Simple Machines Community Forum

General Community => Scripting Help => Topic started by: Voltronex on January 12, 2005, 01:06:52 PM

Title: why dont this work?
Post by: Voltronex on January 12, 2005, 01:06:52 PM
<TABLE BORDER="1" CELLPADDING="0" CELLSPACING="0"
WIDTH="300" HEIGHT="200">

<TR>
<TD ALIGN="CENTER" ROWSPAN="3" WIDTH="100">Column 1</TD>
<TD ALIGN="CENTER" WIDTH="200">Row 1</TD>
</TR>

<TR>
<TD ALIGN="CENTER">Row 2</TD>
</TR>

<TR>
<TD ALIGN="CENTER">Row 3</TD>
</TR>

</TABLE>

Title: Re: why dont this work?
Post by: _complex on January 12, 2005, 01:25:28 PM
what you mean?... i just tested it on a html test site.. and it worked right...
Title: Re: why dont this work?
Post by: Voltronex on January 12, 2005, 01:34:53 PM
html site? no no no I want it in the forums.....using the "insert table" command
Title: Re: why dont this work?
Post by: Trekkie101 on January 12, 2005, 02:42:48 PM
You have to use BBcode to do that  ;)
Title: Re: why dont this work?
Post by: Voltronex on January 12, 2005, 03:31:30 PM
[TABLE BORDER="1" CELLPADDING="0" CELLSPACING="0"
WIDTH="300" HEIGHT="200"]

[TR]
[TD ALIGN="CENTER" ROWSPAN="3" WIDTH="100"]Column 1[/TD]
[TD ALIGN="CENTER" WIDTH="200"]Row 1[/TD]
[/TR]

[TR]
[TD ALIGN="CENTER"]Row 2[/TD]
[/TR]

[TR]
[TD ALIGN="CENTER"]Row 3[/TD]
[/TR]

[/TABLE]
Title: Re: why dont this work?
Post by: Voltronex on January 12, 2005, 03:32:28 PM
lol it still dont work.......wtf is the point of having an "insert table" if it dont work?
Title: Re: why dont this work?
Post by: Tim on January 12, 2005, 05:17:05 PM

Cell ACell B
Cell CCell D

It works, you just need to rtfm...
Title: Re: why dont this work?
Post by: Grudge on January 12, 2005, 05:20:31 PM
Insert table does NOT allow any of the attributes of a HTML table. If it were to then you would have two problems:

1) You either slow down BBC parsing a LOT
OR
2) You make it dead easy to get javascript insertion exploits

Why would you need that much control in a post?

EDIT: Time beat me to it
Title: Re: why dont this work?
Post by: Saleh on January 12, 2005, 05:40:00 PM
do you I need to translate rtfm? :P
Title: Re: why dont this work?
Post by: Voltronex on January 13, 2005, 03:54:54 AM
thanks for the help guys :) really cool of you