I have it in the layout thread, second to last page currently. Tag is centerTable
BBCode List
-
six7
- Posts: 4046
- Joined: 01 Jul 2020, 10:03
-
Caesar
Topic author - Chise GOAT

- Posts: 13716
- Joined: 27 Nov 2018, 10:47
BBCode List
You can also use the div code as you were using it. You just have to wrap all of your content in it because center align is going to change with the width of the person's screen. Like with your first post here: viewtopic.php?p=99060#p99060 Just put one div at the beginning and close it at the end and it should all align.toysoldier00 wrote: ↑16 Nov 2025, 10:58Thank you! I thought there must be a way. That was going to drive me crazy haha!six7 wrote: ↑16 Nov 2025, 10:13Yes! I figured out how to do this with using this nesting:toysoldier00 wrote: ↑16 Nov 2025, 09:51Apologies if there is a way to do this already that I cannot figure out. But if not,
Is there any way to add a BBCode wrapper that allows margin control inside posts? essentially a narrowed text column?
For example, something like:
[column=20]Text here[/column]
Which would render as:
<div style="margin-left:20%; margin-right:20%;">Text here</div>
The goal is simply to create a readable centered column of text instead of having the full post width. It could make writeups look much cleaner when matching text width to resized images. And give a little bit more flexibility to what can be made.
centerTable
Tr
Td
Table
Tr
TD
Div (put in your custom sizes)
/div
/td
/tr
/table
/td
/tr
/centerTable
This is how is should look with just a single div and no center align tags

So you'd do:
div=0,105,8,645
{All of the content as you have it coded with no center aligns}
/div
