News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Centering Lists

Started by Alb0, December 07, 2014, 04:43:09 PM

Previous topic - Next topic

Alb0

I don't know if I'm missing something or if I'm just plain stupid lol, but I cannot figure out how to center a list with bbcode into a reply. Any help?

Chas Large

Do you mean centre the table into the middle of the post or centre the text within the table?

Table with no alignment means left aligned.




Column 1 Row 1Column 2 Row 1Column 3 Row 1
Column 1 Row 2Column 2 Row 2Column 3 Row 2
Column 1 Row 3Column 2 Row 3Column 3 Row 3

Table with centre alignment





Column 1 Row 1Column 2 Row 1Column 3 Row 1
Column 1 Row 2Column 2 Row 2Column 3 Row 2
Column 1 Row 3Column 2 Row 3Column 3 Row 3

To centre in the post, create the table then select it all then click the CENTER BBC Icon.
My Modifications :)  My Forum

Please DO NOT PM me with support requests. Post the problem in the appropriate Support Board so everyone can benefit from the advice given.

Arantor

Lists do not honour the center bbc on their own. However, if you wrap them in inside a table and then center the table that would work:



  • list item
  • list item
  • list item

[center][table][tr][td]
[list]
[li]list item[/li]
[li]list item[/li]
[li]list item[/li]
[/list]
[/td][/tr][/table][/center]

Alb0

Quote from: Arantor on December 08, 2014, 05:05:02 PM
Lists do not honour the center bbc on their own. However, if you wrap them in inside a table and then center the table that would work:

Ahhh, did not know this until just now. Thank you!  ;D

Advertisement: