Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

friggin white space in header.php


Recommended Posts


i am trying to add a horizontal red bar (line_break.gif) at the very top of my header.

the store is contained in a table with a border=1.


i can successfully add the red bar in there, but no matter what happens, there is a white space between the top of the page (within the border) to the top of the red bar and another white space between the tr class="header" section (that contains my logo) to the bottom of my red bar.


i have included the top part of the header.php file


i also want to know how this red bar can be added to the very bottom of the store (footer.php) but still remain with the border (container)

thanks in advance!!





<table width="770" border="1" align="center" bgcolor="#FFFFFF" bordercolor="#D0D0C5" cellspacing="0" cellpadding="0">


 <td width="770" height="5" valign="top" align="center"> 

   <?php echo tep_draw_separator('line_break.gif', '100%', '5'); ?>




<table border="0" width="100%" cellspacing="0" cellpadding="0">

   <tr class="header">

   <td valign="middle"><?php echo tep_image(DIR_WS_IMAGES . 'good_logo.gif'); ?></td>

Link to comment
Share on other sites


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

  • Create New...