Simple Machines Community Forum

SMF Support => SMF 1.1.x Support => Topic started by: Loony Tune on March 20, 2011, 06:49:38 PM

Title: Tables and borders
Post by: Loony Tune on March 20, 2011, 06:49:38 PM
Hi all and sorry if the solution to my problem is out there.Yes I have searched. Yes I have Googled. So my problem. I am adding a table to my post. No real dramas there, but I want to add a border to each cell (as in [table border="1"]) but all that happens is the text displays, not the actual border. Tried 1 mod, but it didn't do anything.

SMF 1.1.13

Cheers

LT
Title: Re: Tables and borders
Post by: Sir Osis of Liver on March 20, 2011, 10:07:22 PM

Post your code.

Title: Re: Tables and borders
Post by: Arantor on March 20, 2011, 10:08:08 PM
You can't use table border=1 in the bbcode, it is specifically written not to work.

What you can do is modify the definition inside Subs.php where it converts it into a table (you'll see the <table> entry) and modify that to have a border.
Title: Re: Tables and borders
Post by: Loony Tune on March 24, 2011, 04:57:41 PM
Sorry for the delay. I have recently upgraded to SMF 2 rc5, so will continue the thread there.

Cheers

LT
Title: Re: Tables and borders
Post by: Loony Tune on March 24, 2011, 05:16:10 PM
I started a thread http://www.simplemachines.org/community/index.php?topic=427403.new (http://www.simplemachines.org/community/index.php?topic=427403.new) if you can help (in the 2.0 boards).

Cheers

LT
Title: Re: Tables and borders
Post by: Arantor on March 24, 2011, 06:48:54 PM
And I said exactly the same thing in your other thread, for exactly the same reason. The parsing code is virtually identical between 1.1.x and 2.0.