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
User avatar
DavidIQ
Site Admin
Posts: 581
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]

User avatar
DavidIQ
Site Admin
Posts: 581
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

User avatar
DavidIQ
Site Admin
Posts: 581
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:
annoy_web_dev.png
This will make someone twitch...
annoy_web_dev.png (7.38 KiB) Viewed 1023 times

User avatar
DavidIQ
Site Admin
Posts: 581
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
Berchan_Sample.jpg
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