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: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

How to do a center BBCode

Post by DavidIQ »

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: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: How to do a center BBCode

Post by DavidIQ »

This text gets centered using the above
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: How to do a center BBCode

Post by DavidIQ »

Attachment is centered:
This will make someone twitch...
This will make someone twitch...
annoy_web_dev.png (7.38 KiB) Viewed 14213 times
DavidIQ
Site Admin
Posts: 619
Joined: Thu Sep 07, 2006 4:31 pm
Location: Earth
Contact:

Re: How to do a center BBCode

Post by DavidIQ »

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 »

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