How to do a center BBCode

Need help with your forum? Ask away. Remember though that there's always http://www.phpbb.com/community

Moderator: Experts

Post Reply
DavidIQ
Site Admin
Posts: 600
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

How to do a center BBCode

Post by DavidIQ » Mon Apr 17, 2017 7:27 pm

Add the following for the BBCode:

BBCode usage:

Code: Select all

[center]{TEXT}[/center]
HTML Replacement:

Code: Select all

<div style="text-align: center">{TEXT}</div>
Help line:

Code: Select all

[center]your text here[/center]

DavidIQ
Site Admin
Posts: 600
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: How to do a center BBCode

Post by DavidIQ » Mon Apr 17, 2017 7:27 pm

This text gets centered using the above

DavidIQ
Site Admin
Posts: 600
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: How to do a center BBCode

Post by DavidIQ » Mon Apr 17, 2017 7:28 pm

Attachment is centered:
This will make someone twitch...
This will make someone twitch...
annoy_web_dev.png (7.38 KiB) Viewed 3470 times

DavidIQ
Site Admin
Posts: 600
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: How to do a center BBCode

Post by DavidIQ » Mon Apr 17, 2017 7:53 pm

Bigger image with a thumbnail
Space...the final frontier
Space...the final frontier

SamuelW
Posts: 1
Joined: Thu Jan 04, 2018 5:28 am

Re: How to do a center BBCode

Post by SamuelW » Fri Jan 12, 2018 10:33 am

Awesome pic, David. Are you a space buff? Nice command code too, I didn't realize you could do that so simply.

Post Reply