How can I fix the width?
The stats show in a wider div than the rest of my forum. See screenshot below:
View attachment 11573
The stats show in a wider div than the rest of my forum. See screenshot below:
View attachment 11573
<table class="tborder" width="100%" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tr valign="top" class="alt1">
<if condition="$canviewmore">
<td align="$stylevar[align=left]" width="100%">
<form action="" id="cybstatsresnum" name="cybstatsresnum" method="post"><input type="hidden" name="securitytoken" value="$cybafs_sectok" /><div class="smallfont">
<phrase 1='<br /><select id="resultsnr" name="resultsnr" tabindex="1" onchange="cybstatsresnum.submit();">$resultsnrsw</select>'>$vbphrase[cyb_afs_show_x_results]</phrase> <input type="submit" class="button" value="$vbphrase[cyb_afs_results_update]" accesskey="s" /></div>
</form>
</td>
<else />
<td width="100%" align="center">$vbphrase[cybstats_nopermissions]</td>
</if>
<table class="tborder" width="75%" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0">
<tr valign="top" class="alt1">
<if condition="$canviewmore">
<td align="$stylevar[align=left]" width="75%">
<form action="" id="cybstatsresnum" name="cybstatsresnum" method="post"><input type="hidden" name="securitytoken" value="$cybafs_sectok" /><div class="smallfont">
<phrase 1='<br /><select id="resultsnr" name="resultsnr" tabindex="1" onchange="cybstatsresnum.submit();">$resultsnrsw</select>'>$vbphrase[cyb_afs_show_x_results]</phrase> <input type="submit" class="button" value="$vbphrase[cyb_afs_results_update]" accesskey="s" /></div>
</form>
</td>
<else />
<td width="75%" align="center">$vbphrase[cybstats_nopermissions]</td>
</if>
mmmxiv said:AdminCP -> Styles & Templates -> Greenfox -> Edit Templates -> cyb_topstats_php ->
Find:
Code:<table class="tborder" width="100%" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0"> <tr valign="top" class="alt1"> <if condition="$canviewmore"> <td align="$stylevar[align=left]" width="100%"> <form action="" id="cybstatsresnum" name="cybstatsresnum" method="post"><input type="hidden" name="securitytoken" value="$cybafs_sectok" /><div class="smallfont"> <phrase 1='<br /><select id="resultsnr" name="resultsnr" tabindex="1" onchange="cybstatsresnum.submit();">$resultsnrsw</select>'>$vbphrase[cyb_afs_show_x_results]</phrase> <input type="submit" class="button" value="$vbphrase[cyb_afs_results_update]" accesskey="s" /></div> </form> </td> <else /> <td width="100%" align="center">$vbphrase[cybstats_nopermissions]</td> </if>
replace it with:
Code:<table class="tborder" width="75%" align="center" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0"> <tr valign="top" class="alt1"> <if condition="$canviewmore"> <td align="$stylevar[align=left]" width="75%"> <form action="" id="cybstatsresnum" name="cybstatsresnum" method="post"><input type="hidden" name="securitytoken" value="$cybafs_sectok" /><div class="smallfont"> <phrase 1='<br /><select id="resultsnr" name="resultsnr" tabindex="1" onchange="cybstatsresnum.submit();">$resultsnrsw</select>'>$vbphrase[cyb_afs_show_x_results]</phrase> <input type="submit" class="button" value="$vbphrase[cyb_afs_results_update]" accesskey="s" /></div> </form> </td> <else /> <td width="75%" align="center">$vbphrase[cybstats_nopermissions]</td> </if>
Alternate Method:
Change all the 100% in the first bit of code, to your own custom value
howtounlockvoip.com
MobileHacks said:use this version 6.4 if you have problem of it showing loading
William9999 said:I need help with the display of the table ... they seem to extend outside of the forum limits...what can I do ???
PHP:howtounlockvoip.com
Please use the Search funtion next time._vb_ said:where the download link working for vbulletin version 3.8.1