Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Centering logo


madyson3

Recommended Posts

Posted

I've gotten rid of all of the extra images in the header and now want to center my logo. Problem is that everything I have tried hasn't worked. Currently this is what I have in my header.php file:

<table border="0" width="100%" cellspacing="0" cellpadding="0">
 <tr class="header">
   <td valign="center" ><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'HOD_Logo_080104_b.jpg', 'House of de Don')
//    . '</a><a href=http://www.houseofdedon.com/threecatsandadog/threecatsandadog.htm>' . tep_image(DIR_WS_IMAGES . 'HOD_3catsandadog_banner.gif', 'Three cats and a dog')
   .'</a>'; ?></td>
  </tr>
</table>

 

 

You can look at it here:

House of de Don

 

Someone please help. Thank you so much!

See you on the dark side,

Kristy

 

I'm just a girl living in captivity

Your rules of thumb makes me worrisome

Posted

Change as follows:

 

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

<tr class="header">

  <td valign="center" ><center><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'HOD_Logo_080104_b.jpg', 'House of de Don')

//    . '</a><a href=http://www.houseofdedon.com/threecatsandadog/threecatsandadog.htm>' . tep_image(DIR_WS_IMAGES . 'HOD_3catsandadog_banner.gif', 'Three cats and a dog')

  .'</a>'; ?></center></td>

  </tr>

</table>

 

Think it should work, did on my test site!!

Please note - if I have suggested a contrib above, it doesnt mean it will work! Most of the contribs are not ones I've used, but may be useful for your particular problem....

Have you tried a refined search? Chances are your problem has already been dealt with elsewhere on the forums.....

if (stumped == true) {

return(square_one($start_over)

} else {

$random_query = tep_fetch_answer($forum_query)

}

Posted

You so rock!

Thanks.

See you on the dark side,

Kristy

 

I'm just a girl living in captivity

Your rules of thumb makes me worrisome

Archived

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

×
×
  • Create New...