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,021
  • Total Topics: 21,332
  • Online today: 582
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 1
  • Guests: 470
  • Total: 471
  • tino

Something VERY simple

Started by rumboogy, March 21, 2008, 01:01:44 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

rumboogy

Yes, I did a search...but this was a difficult search.

I have a poll block (center block), that I want the POLL CENTERED in the page.

Here is what I am putting in the PHP Block:

ssi_showPoll(414.0);

But how do I center the poll.

I tried various "CENTER" commands ('center', <center>, "center", and even GIT IN THE FRIGGING MIDDLE...but I keep getting a parse error...

Can someone give me the PHP version of CENTER.

Thanks,

Wally

IchBin

You will have to center the code in the SSI.php file for your showPoll.

rumboogy

OK...I was hoping it could be done in the block...Thanks for the quick reply.

Wally

Lord Anubis

TRY THIS
echo'
<center>';
ssi_showPoll(414.0);
echo'
</center>';


Should work I just tested it ;)

rumboogy

Lord....you are the man. Thank you sir. Worked like a charm.

Thanks,

Wally

IchBin

hmmm... for some reason I thought the SSI code was already aligning the code. Good work!

rumboogy

Don't worry IchBin...I still have confidence in you... :coolsmiley:

Wally

Lord Anubis

Ich knows his stuff very good :)

rumboogy

Yes...I know he does. He has helped me several times.

G6Cad

Seems like this one is solved so i will change the topic to the green nice solved image :)

This website is proudly hosted on Crocweb Cloud Website Hosting.