Login
Username

Password



Not a member yet?
Click here to register.

Forgotten your password?
Request a new one here.
Navigation
Follow us on Facebook
Follow us on Google+
View Thread
Who is here? 1 guest(s)
 Print Thread
BBcode For [code].
ChildHold
The Original bbcode is this..
Download source  Code
Test




but i can't center this box...it happen like this:
Download source  Code
Test




I like to have bbcode that just only box that shows and not the disket icon

It just text that align at the center but not the box...

Is there any bbcode for code wrap??...

I like to have bbcode (code wrap) that will align at the center with the box....

please help me and sorry for my bad english.
Edited by ChildHold on 26-04-2012 21:49
 
Ugleh
Open & Edit /includes/bbcode/code_bbcode_include.php

Find
Download source  Code
<div class=\'code_bbcode\'>



Replace
Download source  Code
<div class=\'code_bbcode\' align=\'center\' >




Save > Done

The text will be centered too though, so yea thats an issue with Code. Code should never be centered.
Tried adding: style=\'text-align:left;\'
But that didn't help either.
 
ugleh.com
ChildHold
Thanks...but why the font changed?

it turns like this..
i.imgur.com/Za6Fk.png

*One more thing,the code just align at the center,cannot go left or right?..
How can i make the box can align left,center or right?...

and hope that dont not changed...

Sorry for my bad english..Thanks..
 
lelebart
via CSS!
Download source  Code
div.code_bbcode { margin-left: auto; margin-right: auto; }



I don't know! I don't know why I did it, I don't know why I enjoyed it, and I don't know why I'll do it again! Bart Simpson
 
http://www.valeriovendrame.it/dev/
Ugleh
he wants us to code a new bbcode or alter the same one to allow something along the lines of [code align=center]
 
ugleh.com
ChildHold
Thanks lelebart..but what should i change if i want the font not change to small and bold..

i want normal font and normal size.

Please..Thanks.
 
Jump to Forum:
Similar Threads
Thread Forum Replies Last Post
TSViewer code in panel Panels and Infusions 3 11-04-2014 17:02
Youtube BBcode not work on mobile Site & Forum Issues 3 30-03-2014 14:09
What's the deal with YouTube BBCode? System Administration 1 05-03-2014 19:29
BBcode on articles Panels and Infusions 5 20-02-2014 16:21
[img] BBCode https:// Not Parsing Roadmap 2 16-02-2014 14:34
Official Home of PHP-Fusion uses cookies. Some may already have been set. Read more about our Cookies here.
Please click the button I Consent Cookies to hide this bar and accept our cookies. If you continue to use the site with no action taken, we'll assume that you consent our cookies anyway.
Cookiebar Panel fromVenue