I have this code, in a PHP include file called from global.php
PHP Code:
if ( $bbuserinfo['userid'] != 0 )
{ $contact_but = '<a href="../forums/showthread.php?s=' . $session['sessionhash'] . '&threadid=125"><img src="../forums/images/top_contact.gif" alt="Contact ASE" border="0"></a>';
$reg_ucp = '<a href="../forums/usercp.php?s=' . $session['sessionhash'] . '"><img border="0" src="../forums/images/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences"></a>';
$memberhead = '<a href="../forums/memberlist.php?s=' . $session['sessionhash'] . '"><img border="0" src="../forums/images/top_members.gif" alt="Find other users"></a>';
$searchhead = '<a href="../forums/search.php?s=' . $session['sessionhash'] . '"><img border="0" src="../forums/images/top_search.gif" alt="Search"></a>';
$logout = '<a href="../forums/member.php?s=' . $session['sessionhash'] . '&action=logout"><img border="0" src="../forums/images/top_logout.gif" alt="Logout"></a>';
and more like that, its a conditional nav buttons hack. I just put each of the variables and others in my header template
Code:
<td align="center" >
$home_but
$forums_but
$cal_but
$links_but
$faq_but
$contact_but
$searchhead
$memberhead
$reg_ucp ...
and usually the buttons (up to twelve of them depending on who's logged in) just wrap around inside the cell using up whatever rows they need.
But using the compressor. they just stay in one long line and push the cell way off to the right.
Is there anything I can do to fix this so that the compressor doesn't mess this up?