Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

friggin white space in header.php


donato

Recommended Posts

hello,

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!!

d

 

  }

?>

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

  <tr> 

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

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

 </td>

</tr>



<td>

<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

Archived

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

×
×
  • Create New...