Hey all,its been awhile ;)
Im just starting to use the ssi function. My question is,....is there a way to show them side by side? Like maybe 2 per row?
If you see here, http://www.chevyavalancheclub.com/index.php?action=polls
Theyre just going straight down and wide as the page.
Any ideas? :buck2:
You can do anything you want with them, structure-wise.
QuoteLike maybe 2 per row?
Two what per row?
QuoteTheyre just going straight down and wide as the page.
That's because your table is set to a 100% width.
I'd have to see your code in order to be able to help you with it, though.
I knew it :D TP should pay you for all your willing help :buck2:
I mean,the polls are like this:
Poll
poll
poll
poll
I'd like to have them to show like this:
poll poll
poll poll
poll poll
poll poll
or....
poll poll poll
poll poll poll
poll poll poll
Get the idea? :-\
The code im using is just the simple ssi poll function. Nothing else.
Thanx,
Mick.
I wonder if adding cells this would work.
Hmmm...maybe 3 rows and 3 cells.
lol...back to the drawing board.
Heres the table cells. lol...great idea.
3 rows & 3 cells
<table cellspacing="1" cellpadding="1" width="100%" border="1" align="" summary="">
<tbody>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
QuoteThe code im using is just the simple ssi poll function. Nothing else.
Can you give me the actual name of the function? Searching for the word "poll" in SSI.php is taking forever.
Ah ok.
Im using the:
ssi_showPoll(4701);
dont mind the 4701,thats the topic number.
Okay, so you have a number of calls to ssi_showPoll, yes? You can easily put them into a table.
echo '<table>
<tr><td>';
ssi_showPoll(xxxx);
echo '</td><td>';
ssi_showPoll(xxxx);
echo '</td><td>';
ssi_showPoll(xxxx);
echo '</td></tr>
<tr><td>';
ssi_showPoll(xxxx);
echo '</td><td>';
ssi_showPoll(xxxx);
echo '</td><td>';
ssi_showPoll(xxxx);
echo '</td></tr>
<tr><td>';
ssi_showPoll(xxxx);
echo '</td><td>';
ssi_showPoll(xxxx);
echo '</td><td>';
ssi_showPoll(xxxx);
echo '</td></tr></table>';
Just fill in your topics numbers where the xxxx is. It should work. :)