Need some help on this code before...

Support for PhpBB3 BBCodes. Post here to get help with any BBCode related issue here
There is no support here! Only Read Access!
Forum rules
In order the get any support, you will have to do following:
1. Use a describing title!
2. Describe exactly what it is you want.
3. Tell us what version of phpBB3 you are currently using.
Else your topic may be ignored or locked!
Locked
User avatar
DannyG
BBCoder II
BBCoder II
Posts: 54
Joined: 10 Mar 2010, 18:05

Need some help on this code before...

Post 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
User avatar
Steve
BBCoder VI
BBCoder VI
Posts: 847
Joined: 05 Mar 2010, 01:10
BBCodes: 2000
Favourite BBCode: p**n tube
Favourite MOD: Non of Stokers

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

Post 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
Steve wrote: 14 Nov 2024, 16:45 It's happy bastard day!
Locked