Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

HTML page displaying image incorrectly

Posted on 2009-05-16
5
Medium Priority
?
173 Views
Last Modified: 2012-05-07
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
Comment
Question by:photoman11
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
5 Comments
 
LVL 2

Expert Comment

by:Tosko
ID: 24404270
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
 
LVL 2

Accepted Solution

by:
Tosko earned 2000 total points
ID: 24404274
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
 

Author Comment

by:photoman11
ID: 24408376
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
 

Author Closing Comment

by:photoman11
ID: 31582283
superior clear, direct answer.
0
 
LVL 2

Expert Comment

by:Tosko
ID: 24424759
You're welcome ^^
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
Find out what you should include to make the best professional email signature for your organization.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

636 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question