[center] tag not working!!
#1
Previously it was working like as it should have been...

[center]jksdafdta[/center]

Now it works only with alignments!!!.....it has been used thousands of times already in my forum!!! How to fix it?

I have searched here too without getting any solution....if anyone can please help me.
#2
IIRC, [center] is not a default tag.

You must have had a custom MyCode, but deleted it.
You can easily re-add it however - just go to your AdminCP -> Custom MyCodes.
Add the following:
Name: Center tag (or whatever you like)
Regular Expression:
\[center\](.*?)\[/center\]
Replacement:
<div style="text-align: center;">$1</div>
#3
lol....thanks....but I just figured out why it happened(richeditor issue)...

Still thanks again
#4
The code is:
[align=center]center this stuff[/align]
Dennis Tsang
Former MyBB Team Member
Web: http://dennistt.net
#5
wow.. it's work!!
thx bro ZiNgA BuRgA


Forum Jump:


Users browsing this thread: 1 Guest(s)