Need to know how to center some code please
4 posters
Page 1 of 1
Need to know how to center some code please
I've just started to decorate my forum for Christmas and copied this code
Code copied from here https://help.forumotion.com/t117773-christmas-time-on-forumotion-let-s-decorate-our-forums?highlight=christmas
But its not central on the forum see below
How can I centre it
- Code:
$(function() {
$.getScript("http://perso.numericable.fr/antonywar/NOEL/testhaut.js");
});
Code copied from here https://help.forumotion.com/t117773-christmas-time-on-forumotion-let-s-decorate-our-forums?highlight=christmas
But its not central on the forum see below
How can I centre it
Last edited by FIB on December 7th 2015, 9:17 am; edited 1 time in total
Re: Need to know how to center some code please
Hi,
Try this:
Regards.
Try this:
- Code:
<p style="text-align:center;">$(function() {
$.getScript("http://perso.numericable.fr/antonywar/NOEL/testhaut.js");
});</p>
Regards.
Re: Need to know how to center some code please
Thanks @ACE but it doesn't show at all with that code
Re: Need to know how to center some code please
Hi,
lol, okay. Just grab the JS code from your first post and host it in a JS page. Grab that URL (from the JS page) and go to your Admin CP >> General >> Forum >> Configuration >> Forum Description.
Insert this code:
Regards.
lol, okay. Just grab the JS code from your first post and host it in a JS page. Grab that URL (from the JS page) and go to your Admin CP >> General >> Forum >> Configuration >> Forum Description.
Insert this code:
- Code:
<p style="text-align:center;"><script src="path/to/your.js"></script></p>
Regards.
Re: Need to know how to center some code please
Ace wrote:Hi,
lol, okay. Just grab the JS code from your first post and host it in a JS page. Grab that URL (from the JS page) and go to your Admin CP >> General >> Forum >> Configuration >> Forum Description.
Insert this code:
- Code:
<p style="text-align:center;"><script src="path/to/your.js"></script></p>
Regards.
Thanks for your reply but I don't understand what your telling me sorry but I really am not sure what you mean? my fault not yours
Re: Need to know how to center some code please
Hi,
Sure, no problem
Delete this code:
Now, host this script in your JS pages:
Now, look for that URL.
You'll see it in this page:
Look for the column URL.
Now go to Admin CP >> General >> Forum >> Configuration >> Forum Description.
Place this code in there:
Path to your JS >> Replace it by the URL that you obtained from the last step.
Regards.
Sure, no problem
Delete this code:
- Code:
<p style="text-align:center;">$(function() {
$.getScript("http://perso.numericable.fr/antonywar/NOEL/testhaut.js");
});</p>
Now, host this script in your JS pages:
- Code:
$(function() {
$.getScript("http://perso.numericable.fr/antonywar/NOEL/testhaut.js");
});
Now, look for that URL.
You'll see it in this page:
Look for the column URL.
Now go to Admin CP >> General >> Forum >> Configuration >> Forum Description.
Place this code in there:
- Code:
<p style="text-align:center;"><script src="path/to/your.js"></script></p>
Path to your JS >> Replace it by the URL that you obtained from the last step.
Regards.
Re: Need to know how to center some code please
Still it didn't work sorry. here is my test forum to look at http://ourbulgariatestforum.betaboard.net/forum
Re: Need to know how to center some code please
Give this a Go
ACP >> Display Tab >> Pictures and Colors >> Colors >> CSS stylesheet
Add this code at the top of you page
SAVE.
To move it left and right just change the 200px to as you wish
I hope that solves your Question for you.
APE
ACP >> Display Tab >> Pictures and Colors >> Colors >> CSS stylesheet
Add this code at the top of you page
- Code:
embed#noel_deco_swf {
margin-left: 200px;
}
SAVE.
To move it left and right just change the 200px to as you wish
I hope that solves your Question for you.
APE
Re: Need to know how to center some code please
Topic solved and archived
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Similar topics
» css problems with center code
» Code breaks Navigation bar (center bar slide to the right)
» Hide Code? or Post to See Content Code?
» When i paste a long code via [code][/code] the page expands
» CSS Code for the BBCode [code] [/code]
» Code breaks Navigation bar (center bar slide to the right)
» Hide Code? or Post to See Content Code?
» When i paste a long code via [code][/code] the page expands
» CSS Code for the BBCode [code] [/code]
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum