vForums Support > vForums :: Support :: > Affiliate Table

Affiliate Table - Posted By Nick (nickb) on 11th Dec 07 at 10:34pm
http://vfad.virtualforums.co.uk

My affiliate table is not resizing with the forum, its supposed to be 700px. And I try to resize it my self but it dont work.

~Darkmage

EDIT: I just used the resizing code below the affiliates table and it worked.


Re: Affiliate Table - Posted By Ross (admin) on 11th Dec 07 at 10:58pm
There's no need to use the forum resize code at all. Just set the width you want the forum to use via the "General Settings" page of your admin panel. Then for the affiliates table, you can just set the width in the opening table tag:

<table align="center" border="0" width="92%" cellspacing="0" cellpadding="0" class="bordercolor">

Re: Affiliate Table - Posted By Nick (nickb) on 12th Dec 07 at 4:17am
it shows 92% but it doesn't resize it.

Re: Affiliate Table - Posted By Marc (cr0w) on 12th Dec 07 at 4:38am
 
it shows 92% but it doesn't resize it.


I think Ross is saying you have to manually edit the affiliate table's size.

Re: Affiliate Table - Posted By Nick (nickb) on 12th Dec 07 at 5:56am
Ive got it figured out, but I am still using the resize code for the Affiliates, as it moves it off centered and it goes Far Left for some reason.

Re: Affiliate Table - Posted By Marc (cr0w) on 12th Dec 07 at 8:22pm
 
Ive got it figured out, but I am still using the resize code for the Affiliates, as it moves it off centered and it goes Far Left for some reason.


Could you post the code; I may be able to figure out why it's misaligning itself.

Re: Affiliate Table - Posted By Nick (nickb) on 12th Dec 07 at 8:46pm
Sure Here ya go:

Code:
 
  1. <table align="center" border="1" width="68%" cellspacing="1" cellpadding="1" class="bordercolor">
  2. <tr>
  3. <td>
  4. <table cellpadding="2" cellspacing="2" border="2" width="100%">
  5. <tr>
  6. <td class="title2" align="center" colspan="3">
  7. <font color="FFFFFF" size="2">
  8. <b><center><font style="filter:glow(color=white, strength=0); height: 2;">Affiliates</font></center></b>
  9.  
  10. </font>
  11. </td>
  12. </tr>
  13. <tr>
  14. </td>
  15. <td width="60%" class="title2" valign="top">
  16. <!-- Begin Mini Banners -->
  17. <P>
  18. <marquee height="50" width="500" onmouseover="this.stop()" onmouseout="this.start()" direction="left" scrollamount="3" style="Filter:Alpha(Opacity=50, FinishOpacity=20, Style=1, StartX=0, StartY=40, FinishX=0, FinishY=0);"><font face="Times New Roman" color="#000000">
  19.  
  20. <center>
  21.  
  22. <a href="http://vfad.virtualforums.com"><img
  23. src="http://i185.photobucket.com/albums/x20/magedesigns/vforumsad/vfad_affiliate.gif"></a>
  24.  
  25.  
  26. </center></font></marquee>
  27.  
  28. <!-- End Mini Banners -->
  29. </td>
  30. <td width="65%" valign="top" class="title1">
  31. <img src="http://i185.photobucket.com/albums/x20/magedesigns/vfmdskin/vfmdaffiliate.gif"> <textarea rows="2" name="S1" cols="20"><a href="http://magedesigns.virtualforums.com"><img
  32. src="http://i185.photobucket.com/albums/x20/magedesigns/vfmdskin/vfmdaffiliate.gif"></a>
  33. </textarea></form>
  34. </td>
  35. </tr>
  36. </table>
  37. </td>
  38. </tr>
  39. </table>