• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 175
  • Last Modified:

HTML page displaying image incorrectly

Hi,

I'm working on a page from a template I received, and inserted an image inside the BUY IT NOW box. The page is http://www.best-family-photography-tips.com/QT3-exitpage.html and the buy it now button should not have a blue rectangular border with a little white background showing.

The image displays fine by itself, so there's a problem with the code somewhere and I'm going nuts after trying to find it for 2 hours.

Can you please help?
0
photoman11
Asked:
photoman11
  • 3
  • 2
1 Solution
 
ToskoCommented:
I see that your image is a .jpg file.

Try to save that image as .png or .gif instead of jpg.
It has nothing to do with your script, just .jpg doesn't support transparency.

Hope this helps you solve your problem,
Tosko
0
 
ToskoCommented:
Oh p.s. the blue border is easy to get rid of. Just insert border="0" in the image tag.

Example:
<img src="this_is_my_image.png" border="0">
0
 
photoman11Author Commented:
Tosko,

I've been working with images for 4 years and never knew that. It does explain a lot! Thanks for opening my eyes.
0
 
photoman11Author Commented:
superior clear, direct answer.
0
 
ToskoCommented:
You're welcome ^^
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now