Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Header links difficulty


Onstar

Recommended Posts

Hi,

 

 

What is wrong with the code below?

I need to add links to my oscommerce.gif logo. The links are part of the oscommerce.gif. So, I sliced the images as follows:

 

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

<tr class="header">

<td valign="middle" ><?php echo /*'<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' .*/ tep_image(DIR_WS_IMAGES . 'oscommerce.gif', '') . '</a>'; ?></td>

</tr>

<td valign="left"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerceshoppingbag.gif', '') . '</a>'; ?></td>

<td valign="left"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommerceprivacy.gif', '') . '</a>'; ?></td>

<td valign="left"><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommercecontactus.gif', '') . '</a>'; ?></td>

</tr>

<td><?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT) . '">' . tep_image(DIR_WS_IMAGES . 'oscommercebottom.gif', '') . '</a>'; ?></td>

</tr>

</table>

 

 

 

I need to have oscommerceshoppingbag.gif + oscommerceprivacy.gif+oscommercecontactus.gif all on the same line as shown below.

 

________________________________________________________________________________

____

|

| oscommerce.gif

|_______________________________________________________________________________

_____

| | |

| oscommerceshoppingbag.gif | oscommerceprivacy.gif |Oscommercecontactus.gif

|______________________________ |________________________________ |____________________

|

|

| Oscommercebottom.gif

|_______________________________________________________________________________

_____

 

 

The problem is that after I add oscommerceshoppingbag.gif, and the rest of the ...privacy.gif and ...contactus.gif, oscommerceprivacy.gif and oscommercecontactus.gif are pushed away from the page completely. The three images suppose to add up to like 758pixels.

 

Can someone please help it out here please.

 

 

Thank you for helping.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...