Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

table in header not aligning properly


Graveyard666

Recommended Posts

Posted

I have several tables in my header.php file but only 1 is causing a problem when the page changes..

 

Here is my code:

<table align="left"><tr><td>
<table align="left" class="InformationBox" width="1" border="0" cellspacing="0" cellpadding="0">
<?php
 $info_box_contents[] = array('form' => '<form action="' . tep_href_link(FILENAME_DEFAULT) . '" method="get">',
                              'align' => 'center',
                              'text'  => tep_draw_pull_down_menu('cPath', $categories_array,'','onChange="this.form.submit();" size="' . ((sizeof($categories_array) < MAX_MANUFACTURERS_LIST) ? sizeof($categories_array) : MAX_MANUFACTURERS_LIST) . '" style="width:' . BOX_WIDTH . '"')
                             );
 new infoBox($info_box_contents);
?>
</td></tr>
<table align="right"><tr><td>
<table align="right" class="InformationBox" width="115" border="0" cellspacing="0" cellpadding="0">
<?php
     $info_box_contents = array();
     $info_box_contents[] = array('form' => tep_draw_form('manufacturers', tep_href_link(FILENAME_DEFAULT, '', 'NONSSL', false), 'get'),
                                  'text' => tep_draw_pull_down_menu('manufacturers_id', $manufacturers_array, (isset($HTTP_GET_VARS['manufacturers_id']) ? $HTTP_GET_VARS['manufacturers_id'] : ''), 'onChange="this.form.submit();" size="' . MAX_MANUFACTURERS_LIST . '" style="width: 100%"') . tep_hide_session_id());
   }

   new infoBox($info_box_contents);
?>
</table></td></tr>

 

to see it in action goto: http://www.graveyardrecords.com/v46

 

what happens is that the table in the code above shifts to the right sometimes

 

any ideas?

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...