Webmastersite.net
Register Log In

centering the slideshow

Title centering the slideshow
Message Text Need some help trying to center the slideshow in a table and can't seem to figure it out. The controls for the slideshow center fine but pictures stay left. I've tried putting center before the img src for the pics and tried putting a center before the form and tried putting center right before the table starts still the images won't center. <IF {SWITCH_ATTACHSLIDES} and {LINKNUMBEROFIMAGES}> <form name="Oneslideform"> <table width="100%"> <tr> <td colspan="3" align="center" valign="top"> <select name="Oneslide" onChange="Onechange();"> <!-- BEGIN TOPLIST --> <CONFIG>attachments,time,5,ascending,type='link ' AND objectid={LINKID} AND (filetitle LIKE '%.jpg' OR filetitle LIKE '%.gif' OR filetitle LIKE '%.png'),,,0,0,0,0,0,0,,0</CONFIG> <option value="{DIRURL}/thumbnail.php?attachid={ATTACHID}& thumbwidth=500&thumbheight=500" class="button">{ATTACHFILETITLE}</option> <!-- END TOPLIST --> </select> <input type="button" onclick="Oneprevious();" value="<<" title="Previous" name="button" class="button" /> <input type="button" name="Oneslidebutton" onclick="Oneap(this.value);" value="Start" title="AutoPlay" class="button" /> <input type="button" onclick="Onenext();" value=">>" title="Next" name="button" class="button" /> </td> </tr> <tr> <td width="20%" align="center" valign="top"> <a href="{TRACKLINKURL}" {EXTERNALLINKS}><img src="{LINKVBANNER1}" alt="{LINKTITLE}" /></a></td> <td width="60%" align="center" valign="top"> <!-- BEGIN TOPLIST --> <CONFIG>attachments,time,1,ascending,type='link ' AND objectid={LINKID} AND (filetitle LIKE '%.jpg' OR filetitle LIKE '%.gif' OR filetitle LIKE '%.png'),,,0,0,0,0,0,0,,0</CONFIG> <a href="javascript:Onetransport()"><center><img src="{DIRURL}/thumbnail.php?attachid={ATTACHI D}&thumbwidth=500&thumbheight=500" name="Oneshow" border="0" class="thumbshot"></center></a> <!-- END TOPLIST --> </td> <td width="20%" align="center" valign="top"> <a href="{TRACKLINKURL}" {EXTERNALLINKS}><img src="{LINKVBANNER2}" alt="{LINKTITLE}" /></a> </td> </tr> </table> </form> </IF> Thanks Liz
Rating
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5
0/5 based on 0 votes.
Ownership azteca
Views 260 views. Averaging 0 views per day.
Similar Topics
Submission Date Dec 06, 2008 - 8:51 AM