TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
Stats
  • Total Posts: 196,004
  • Total Topics: 21,330
  • Online today: 125
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 75
  • Total: 75

TOP BOARD HELP

Started by rickyreter40, October 13, 2006, 04:09:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rickyreter40

hi,when i add ssi funtion on front page as top posters, how do i align the text in centre instead of to the left.

see home:

www.panicfreedom.co.uk


peter  ;)

akulion

try and echo statement like:

echo '<center>';
YOUR SSI function here (whatever it is);
echo '</center>';

rickyreter40

hi, what just add that at the end off etc...top posters?


akulion

yup that should really do it i believe since ALL the coding output by SSI functions is in HTML (at the user end) so enclosing it in center tags should produce the results :)

rickyreter40

sorry not work do i put this;

echo ''; Top Posters  echo ''; in title

akulion

can u post ur top board function code here?

ill modify it for u  :up:

rickyreter40

where that be  ??? as thick and learning

pete :laugh:

akulion

please try this:


echo'<center>';
php ssi_topBoards();
echo'</center>';


and let me know it it works :)

rickyreter40

where do i put this code? :)

akulion

just like in ur other block

create a PHPbox block (center block)

and put the code in there :up:

This website is proudly hosted on Crocweb Cloud Website Hosting.