Page 1 of 1

Strike through

Posted: Sat Apr 03, 2010 1:21 pm
by shamrocks
How to you 'strike through' text in a post?

Re: Strike through

Posted: Sat Apr 03, 2010 1:25 pm
by Mick
You need to create a custom BBCode for that, an example would be:
To use any of the following custom BBCodes, navigate to the Posting => BBCodes section of the phpBB3 administration panel and click the "Add a new BBCode" button. Enter the respective code from below into the "BBCode usage" and "HTML replacement" boxes.
BBCode usage:

Code: Select all

[s]{TEXT}[/s]
HTML replacement:

Code: Select all

<span style="text-decoration: line-through;">{TEXT}</span>
Example usage:

Code: Select all

[s]strikethrough text[/s]

Re: Strike through

Posted: Sat Apr 03, 2010 1:28 pm
by eeji
you'd need to set up a custom BB code:

BB usage:

Code: Select all

[s]{TEXT}[/s]
HTML replacement:

Code: Select all

<span style="text-decoration:line-through;">{TEXT}</span>
**edit: Beaten to it! :D

Re: Strike through

Posted: Sat Apr 03, 2010 4:36 pm
by shamrocks
Sweet, thanks guys. There is so much stuff I don't know about with this. lol.

Re: Strike through

Posted: Mon May 16, 2011 9:47 am
by smatt454
Hey I did this...but I'm having problems.

When I do
foo

in the preview I get
foo
but when I post I get
foo


What am I doing wrong?

Re: Strike through

Posted: Mon May 16, 2011 10:25 am
by Mick
smatt454 wrote:Hey I did this...but I'm having problems.

When I do
foo

in the preview I get
foo
but when I post I get
foo


What am I doing wrong?
Please do not reply to year old topics, start your own.

Please fill out the support request template to enable us to assist you better.

Re: Strike through

Posted: Mon May 16, 2011 1:51 pm
by smatt454
Sorry, found this thread googling and didnt pay attention to the date.