Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How to get rid of the border around an image


tim_ver

Recommended Posts

I have this now:

 

<td align="center"><?php echo tep_image_submit('button_wishlist.gif', 'Add to Wishlist', 'name="wishlist" value="wishlist"'); ?></td>

 

and it is giving me a border around the image so I tried this:

 

<td class="main" align="left"><?php echo tep_image_button('button_wishlist.gif', 'Add to Wishlist', 'name="wishlist" value="wishlist" 'class="noborder"', false) . '</a>'; ?></td>

 

 

But this gives me this error: Parse error: syntax error, unexpected T_CLASS

 

 

What do I need to change to fix this?

 

Thanks

Link to comment
Share on other sites

<td align="center"><?php echo tep_image_submit('button_wishlist.gif', 'Add to Wishlist', 'name="wishlist" value="wishlist" border="0"'); ?></td>

 

This should work.

 

The extra apostrophe before "class" was likely what messed you up.

 

Rob

Rob Bell - Inspired Graphix

Customising osCommerce in Australia, and the world!

View my profile for web and email links.

 

I'm sorry, but i cannot offer Free support via PM etc, and osCommerce forums prohibit me from putting any reference to paid support in my signauture.

However viewing my profile may provide links to my website or something like that which you may find useful.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...