I am trying to make the roster menu width (which I have modifies and removed all the links, just using the 'last updated', 'guild overview', and 'server status' scripts) a certain width in pixel or percentage. I can not find out how to force it to the size I wish. I am trying to make it match up with the rest of the width on the memberslist.php.
Here is where I am at. I tired focing a table in between the 'Guld Roster Menu' coding in menu.php, but nothing changed. I added:
- Code: Select all
<table width="400" cellspacing="0" cellpagging="4" border="0">
after
- Code: Select all
<!-- Begin WoWRoster Menu -->
and
- Code: Select all
</table>
before
- Code: Select all
<br />
<!-- End WoWRoster Menu -->
So it looks like
- Code: Select all
<!-- Begin WoWRoster Menu -->
<table width="400" cellspacing="0" cellpagging="4" border="0">
<?php print border('syellow','start'); ?>
<table width="100%" cellspacing="0" cellpadding="4" border="0" class="main_roster_menu">
<tr>
<?php
print '<td colspan="5" align="center" valign="top" class="header">
<span style="font-size:18px;"><a href="'.$roster_conf['website_address'].'">'.$roster_conf['guild_name'].'</a></span>
<span style="font-size:11px;"> @ '.$roster_conf['server_name'].' ('.$roster_conf['server_type'].')</span><br />';
print $wordings[$roster_conf['roster_lang']]['update'].': <span style="color:#0099FF;">'.$updateTime;
if( !empty($roster_conf['timezone']) )
print ' ('.$roster_conf['timezone'].')';
?>
</span></td>
</tr>
<tr>
<td colspan="5" class="simpleborderbot syellowborderbot"></td>
</tr>
<tr>
<!-- Links Column 1 -->
<?php
if( $roster_conf['menu_left_pane'] && $guild_data_rows > 0 )
{
print ' <td rowspan="2" valign="top" class="row">';
print $wordings[$roster_conf['roster_lang']]['members'].': '.$num_non_alts.' (+'.$num_alts.' Alts)
<br />
<ul>
<li style="color:#999999;">Average Level: '.round($result_avg).'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 60: '.$num_lvl_60.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 50-59: '.$num_lvl_50_59.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 40-49: '.$num_lvl_40_49.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 30-39: '.$num_lvl_30_39.'</li>
<li>'.$wordings[$roster_conf['roster_lang']]['level'].' 1-29: '.$num_lvl_1_29.'</li>
</ul></td>';
}
?>
<?php
if( $roster_conf['menu_right_pane'] && $guild_data_rows > 0 )
{
print ' <td rowspan="2" valign="top" class="rowright">';
if( $roster_conf['rs_mode'] )
{
print '<img alt="WoW Server Status" src="'.$roster_conf['roster_dir'].'/realmstatus.php" /></td>';
}
elseif( file_exists(ROSTER_BASE.'realmstatus.php') )
{
include_once (ROSTER_BASE.'realmstatus.php');
}
else
{
print ' </td>';
}
}
?>
</tr>
</table>
<?php print border('syellow','end'); ?>
</table>
<br />
<!-- End WoWRoster Menu -->
But nothing seemed to change. The table seems to still go to whatever width it wants. You can see it here: http://www.clanhood.com/wowroster/index.php
Am I totally going about this the wrong way, have the wrong code added in the wrong place... etc?
Thanks in advance, if you need any more information, please let me know