Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

1 px Border on Transparent Gifs


Guest

Recommended Posts

Here's the cart: http://www.clydecaldwell.com/shopping_cart...log/default.php

 

I'm having a problem with the transparent GIFs in -- they all have 1 px borders, and I can't figure out how to get it to go back to 0. The function associated with the GIFs seems to be 'tep_draw_separator' using pixel_trans.gif. But the only place that seems to define this function is in html_output.php:

 

// Output a separator either through whitespace, or with an image

function tep_draw_separator($image = 'pixel_black.gif', $width = '100%', $height = '1') {

return tep_image(DIR_WS_IMAGES . $image, '', $width, $height);

}

 

But it's using pixel_black.gif rather than pixel_trans.gif -- and playing with it doesn't seems to affect anything.

 

The problem continues even if I rename the stylesheet -- so I'm guessing it's not a stylesheet problem.

 

Any suggestions? Once this is done I can go live -- it's driving me crazy!

Link to comment
Share on other sites

the problem is that http://www.clydecaldwell.com/shopping_cart...pixel_trans.gif isn't being shown....

 

I tried to goto that in the web browser and got a image with a red X in it... check that images permissions or re-upload it... looks like it may be corrupt

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Link to comment
Share on other sites

yes reupload the pixel_trans.gif file... it is a 0k completely blank file... something must've gone not quite right in uploading it.

The only thing necessary for evil to flourish is for good men to do nothing

- Edmund Burke

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...