Patreon LogoYour support makes Blue Moon possible (Patreon)

Centered Table or List

Fiadh

Lasciate ogne speranza, voi ch'entrate.
Joined
Oct 13, 2011
Location
Canada
I'm having no luck trying to do this with the tables on my threads. Everything else is neatly centered and then... my lists are askew. If there's a way to get whole tables (not just the text in each column) to abide by an alignment code I'd love to know the secret. :p
 
Salut, Andronica! This might be a little tricky or not what you're looking for completely and might take a bit of trial and error. Here's what I do to center a table:
  1. Add columns on both ends (kind of like paddings).
  2. Add text in the same color as the background (#333333) in those columns.
  3. Change the font size of the text to xx-large.
You can adjust how “centered” you want your table to be by adding more text on both columns. As for centered lists, I suggest not using the [ list ] code and just manually typing your list.

Code:
[table]
[tr]
	[td][SIZE=7][color=#333333]RAINDROPTOPRAIN[/color][/SIZE][/td]
	[td][list][*]This
[*]is
[*]a
[*]list[/list]

[CENTER]• This
• is
• a
• centered 
• list[/CENTER][/td]
	[td][list=1][*]This
[*]is
[*]a
[*]list[/list]

[CENTER]1. This
2. is
3. a
4. centered
5. list[/CENTER][/td]
	[td][list=A][*]This
[*]is
[*]a
[*]list[/list]

[CENTER]A. This
B. is
C. a
D. centered
E. list[/CENTER][/td]
	[td][SIZE=7][color=#333333]RAINDROPTOP[/color][/SIZE][/td]
[/tr]
[/table]

The outcome should look like this:
RAINDROPTOPRAIN
  • This
  • is
  • a
  • list

• This
• is
• a
• centered
• list​
  1. This
  2. is
  3. a
  4. list

1. This
2. is
3. a
4. centered
5. list​
  • This
  • is
  • a
  • list

A. This
B. is
C. a
D. centered
E. list​
RAINDROPTOP
I hope this helps. ^~^
 
Thanks for the quick response!

I considered adding more empty columns to pad it, since I use the white layout and extra text on the sides would be visible to people who use that theme. I might try using a transparent image to fill the space and see how that goes. :)
 
Back
Top Bottom