Forum Settings
Forums
New
Aug 12, 9:05 AM
#1
puer aeternus

Offline
Sep 2021
1523
Is there any possible method to center a table in BBCode? It seems that the center tag only centers the inside text, not the whole table.

The code
[center][table][tr][th]col1[/th][th]col2[/th][th]col3[/th][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][/table][/center]

Result
col1col2col3
111
111
111

Expected Result

Aug 15, 5:21 PM
#2

Offline
Feb 2010
11846
@kizumi91 You could just use invisible spaces to fake it until they make it. Spoiler: They wont make it!

[img align=left]https://i.imgur.com/6PnoqO0.png[/img][img align=left]https://i.imgur.com/6PnoqO0.png[/img][img align=left]https://i.imgur.com/npYkvqC.png[/img][img align=left]https://i.imgur.com/npYkvqC.png[/img][table][tr][th]col1[/th][th]col2[/th][th]col3[/th][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][/table]


col1col2col3
111
111
111





I have all the BBcode tricks organized here
https://myanimelist.net/forum/?topicid=2077105
Aug 15, 6:20 PM
#3
puer aeternus

Offline
Sep 2021
1523
@Shishio-kun Thanks for your reply, using transparent image as padding space is a good trick but I wonder if there's any pure BBCode method to implement it
Aug 16, 1:12 AM
#4

Online
Mar 2008
49953
Reply to kizumi91
@Shishio-kun Thanks for your reply, using transparent image as padding space is a good trick but I wonder if there's any pure BBCode method to implement it
@kizumi91
Tables arent part of normal BBCode to begin with. It is a custom code. From what i found if it was implemented it would look something like this but this does nothing

[table style="margin-left:auto;margin-right:auto"][tr][th]col1[/th][th]col2[/th][th]col3[/th][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][/table]
⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀ ⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⣸⠋⠀⠀⠀⡄⠀⠀⡔⠀⢀⠀⢸⠀⠀⠀⡘⡰⠁⠘⡀⠀⠀⢠⠀⠀⠀⢸⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀ ⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠁⠀⣀⠀⠀⡇⠀⡜⠈⠁⠀⢸⡈⢇⠀⠀⢣⠑⠢⢄⣇⠀⠀⠸⠀⠀⠀⢸⠀⠀⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⢰⡟⡀⠀⡇⡜⠀⠀⠀⠀⠘⡇⠈⢆⢰⠁⠀⠀⠀⠘⣆⠀⠀⠀⠀⠀⠸⠀⠀⡄⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠤⢄⠀⠀⠀⠀⠀⠀⠀⠀⡼⠀⣧⠀⢿⢠⣤⣤⣬⣥⠀⠁⠀⠀⠛⢀⡒⠀⠀⠀⠘⡆⡆⠀⠀⠀⡇⠀⠀⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀ ⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⢵⡀⠀⠀⠀⠀⠀⡰⠀⢠⠃⠱⣼⡀⣀⡀⠀⠀⠀⠀⠀⠀⠀⠈⠛⠳⠶⠶⠆⡸⢀⡀⣀⢰⠀⠀⢸ ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀ ⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⣀⣀⣀⠄⠀⠉⠁⠀⠀⢠⠃⢀⠎⠀⠀⣼⠋⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠴⠢⢄⡔⣕⡍⠣⣱⢸⠀⠀⢷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀ ⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⡰⠃⢀⠎⠀⠀⡜⡨⢢⡀⠀⠀⠀⠐⣄⠀⠀⣠⠀⠀⠀⠐⢛⠽⠗⠁⠀⠁⠊⠀⡜⠸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀ ⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀ ⢀⠔⣁⡴⠃⠀⡠⡪⠊⣠⣾⣟⣷⡦⠤⣀⡈⠁⠉⢀⣀⡠⢔⠊⠁⠀⠀⠀⠀⢀⡤⡗⢀⠇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀ ⠀⠀⠀⠀ ⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⢀⣠⠴⢑⡨⠊⡀⠤⠚⢉⣴⣾⣿⡿⣾⣿⡇⠀⠹⣻⠛⠉⠉⢀⠠⠺⠀⠀⡀⢄⣴⣾⣧⣞⠀⡜⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠀⠀⠀⠀ ⠀⠀⠀⠀⠀⠀ ⠐⠒⣉⠠⠄⡂⠅⠊⠁⠀⠀⣴⣿⣿⣿⣿⣻⣿⣿⡇⠀⠀⢠⣷⣮⡍⡠⠔⢉⡇⡠⠋⠁⠀⣿⣿⣿⣿⣄⠀⠀⠀⠀
Aug 16, 6:59 AM
#5
puer aeternus

Offline
Sep 2021
1523
Reply to traed
@kizumi91
Tables arent part of normal BBCode to begin with. It is a custom code. From what i found if it was implemented it would look something like this but this does nothing

[table style="margin-left:auto;margin-right:auto"][tr][th]col1[/th][th]col2[/th][th]col3[/th][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][/table]
@traed Seems like it's the issue with bad coding of [table]. I also found that [table] doesn't work properly with [size], in order to resize the text you have to nest it directly inside [td]

Doing this
[size=200][table][tr][th]col1[/th][th]col2[/th][th]col3[/th][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][tr][td]1[/td][td]1[/td][td]1[/td][/tr][/table][/size]
will give you this
col1col2col3
111
111
111


Doing this
[table][tr][th]col1[/th][th]col2[/th][th]col3[/th][/tr][tr][td][size=200]1[/size][/td][td]1[/td][td]1[/td][/tr][tr][td]1[/td][td][size=200]1[/size][/td][td]1[/td][/tr][tr][td]1[/td][td]1[/td][td][size=200]1[/size][/td][/tr][/table]
will give you this
col1col2col3
111
111
111




Aug 16, 1:14 PM
#6

Offline
Feb 2010
11846
@kizumi91 it will almost certainly never be updated. And if they did, the community would shit so hard on staff for updating that and not something else lmao. Also it took like ten years to add dark mode and even today simple changes to fix the home page's LACK of dark mode aren't applied, even if we give the codes to the staff. The updating process is weird now since it goes through a company today.


MAL is the best site but for certain creative things you'll have to make do with clever community fixes, it's always been this way. And btw there's also some cool table tricks in the follow up comments in the thread I linked earlier which I forgot to mention (and forgot to add to the main post lol)
https://myanimelist.net/forum/?topicid=2077105

More topics from this board

» The "Jump To" Widget Seems Bugged

HEIKE7000 - Dec 17

1 by Nurguburu »»
6 hours ago

» Tags disappearing

PuffPuff360 - Today

0 by PuffPuff360 »»
Today, 1:37 AM

Sticky: » Club President Request Thread ( 1 2 3 4 5 ... Last Page )

Kineta - Aug 7, 2010

756 by HassanIQ9 »»
Yesterday, 9:28 PM

Sticky: » Inactive Username Request Thread ( 1 2 3 4 5 ... Last Page )

Kineta - Sep 21, 2015

3655 by hadouea »»
Yesterday, 7:55 PM

» How do I set my list to show titles in romaji?

repomansez - Dec 1

2 by Jakeman95 »»
Yesterday, 7:18 PM
It’s time to ditch the text file.
Keep track of your anime easily by creating your own list.
Sign Up Login