Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Linking Images


tpad

Recommended Posts

So all I've done was replacing the names in the headers of the Boxes to an image I've made in photoshop.

 

So what's the problem?

 

Well the problem is that now that everything has worked and everything is in place, I added links to the images so they would link to other pages of the shop and some ugly black coloured rectangle is placed around the image. I do believe this has something to do with css. Does anyone know anything about it?

 

blackrectmm1.jpg

 

 

Thanks a lot,

~tpad

Link to comment
Share on other sites

the code I've used for the linking is:

 

define('BOX_HEADING_SHOPPING_CART', '<a href="shopping_cart.php"><img src="images/headings/cart.png"></a>');

 

the css code:

 

A {

color: #000000;

text-decoration: none;

}

 

A:hover {

color: #AABBDD;

text-decoration: underline;

}

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...