Page 1 of 1

Need some help on this code before...

Posted: 03 Aug 2010, 15:45
by DannyG
I submit a BBcode.

I have a star rating code incorperated into the "Downlink" BBcode. I would like to know how to centralize the star rating and the "Please Vote!" text under the Download button.

Demo
Image

Code: Select all

<table>
<tr>
<td title="Download Here..." onclick="window.open('{URL}', '_blank')"" style="cursor:pointer;"><img src="http://img42.imageshack.us/img42/981/208bq00.png" alt="" /></td>
<td title="" onclick="window.open('{URL}', '_blank')"" style="cursor:pointer;"><span onmouseover="this.style.color ='#FF0000';" style="font-weight: normal; font-size: 11px; color: #000000; font-family: Arial;" onmouseout="this.style.color='#000000';"><b>&nbsp;</b></span></td>
</tr>
</table>
Please Vote...!
<script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script type="text/javascript">if (WIDGETBOX) WIDGETBOX.renderWidget('25f97bd5-cdfb-4272-9c20-dc45862db5ed');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/rating">Five-Star Ratings Control</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>! Not seeing a widget? (<a href="http://docs.widgetbox.com/using-widgets/installing-widgets/why-cant-i-see-my-widget/">More info</a>)</noscript>
I hope it makes sence

Re: Need some help on this code before...

Posted: 03 Aug 2010, 16:06
by Steve
try this code:

Code: Select all

<div style="text-align: center;float: left;">
<table>
        <tr>
        <td title="Download Here..." onclick="window.open('{URL}', '_blank')"" style="cursor:pointer;"><img src="http://img42.imageshack.us/img42/981/208bq00.png" alt="" /></td>
        <td title="" onclick="window.open('{URL}', '_blank')"" style="cursor:pointer;"><span onmouseover="this.style.color ='#FF0000';" style="font-weight: normal; font-size: 11px; color: #000000; font-family: Arial;" onmouseout="this.style.color='#000000';"><b>&nbsp;</b></span> </td>
        </tr>
        </table>
Please Vote...!
        <script type="text/javascript" src="http://cdn.widgetserver.com/syndication/subscriber/InsertWidget.js"></script><script type="text/javascript">if (WIDGETBOX) WIDGETBOX.renderWidget('25f97bd5-cdfb-4272-9c20-dc45862db5ed');</script><noscript>Get the <a href="http://www.widgetbox.com/widget/rating">Five-Star Ratings Control</a> widget and many other <a href="http://www.widgetbox.com/">great free widgets</a> at <a href="http://www.widgetbox.com">Widgetbox</a>! Not seeing a widget? (<a href="http://docs.widgetbox.com/using-widgets/installing-widgets/why-cant-i-see-my-widget/">More info</a>)</noscript></div>
center.PNG

Re: Need some help on this code before...

Posted: 03 Aug 2010, 16:18
by DannyG
Spot On....!