CTA Table BB Code

xF1 Unmaintained CTA Table BB Code 1.1.1

No permission to download
Compatible XF Versions
  1. 1.3
  2. 1.4
  3. 1.5
This add-on is not affiliated with XenForo Ltd.

A collection of BB Codes which allow you to create simple tables.




The [CONTAINER] BB Code is for wrapping large tables in so they don't break out of the parent div on narrow widths.


Each BB Code has a custom CSS class, allowing them to be styled to suit.
Those classes are defined in the cta_bbcode.css template, allowing styling to be inherited from the colour palette and applied individually per style.
The template can be edited directly or EXTRA.css can be used.


Note that the table code must be one unbroken string.

Correct:
Code:
[TABLE][TR][TH]This is a header cell[/TH][TH]This is a header cell[/TH][/TR][TR1][TD]This is a left aligned cell[/TD][TD1]This is a centre aligned cell[/TD1][/TR1][TR2][TD2]This is a right aligned cell[/TD2][TD]Left aligned[/TD][/TR2][TR1][TD1]Centre aligned[/TD1][TD2]Right aligned[/TD2][/TR1][/TABLE]
Incorrect:
Code:
[TABLE]
[TR][TH]This is a header cell[/TH][TH]This is a header cell[/TH][/TR]
[TR1][TD]This is a left aligned cell[/TD][TD1]This is a centre aligned cell[/TD1][/TR1]
[TR2][TD2]This is a right aligned cell[/TD2][TD]Left aligned[/TD][/TR2]
[TR1][TD1]Centre aligned[/TD1][TD2]Right aligned[/TD2][/TR1]
[/TABLE]

This is how a table appears in a post on the default style.
xenforo_com_community_attachments_cta_table_bb_code_post_png_67032__.png



You can see it in use here: Fantasy F1 League 2010 - Standings


How To Install
1. Download and unzip
2. Import the .xml like any other add-on (not via the Import Custom BB Codes option)
3. Add this line to the top of EXTRA.css: <xen:include template="cta_bbcode.css" />
Author
AnimeHaxor
Size
1.7 KB
Extension
zip
Downloads
23
Views
734
First release
Last update
Rating
0.00 star(s) 0 ratings

More resources from AnimeHaxor

Similar resources

Additional user criteria for user group promotions, trophies, and notices
0.00 star(s) 0 ratings
Downloads
10
Updated
CTA Extra Colours AnimeHaxor
Expands the color palette with 20 new properties.
0.00 star(s) 0 ratings
Downloads
0
Updated
CTA Float BB Code AnimeHaxor
0.00 star(s) 0 ratings
Downloads
8
Updated
CTA Home Page Admin
0.00 star(s) 0 ratings
Downloads
24
Updated
CTA Login AnimeHaxor
Add Facebook, Twitter, and Google logins to the sidebar
0.00 star(s) 0 ratings
Downloads
9
Updated
AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock