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
Solved

HTML page displaying image incorrectly

Posted on 2009-05-16
5
168 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
  • 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 500 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Question about traversing a tree using jQuery 7 33
html input 8 42
Do alert on select 6 13
Need output in powershell ( Vertical format) 2 19
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. 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.: (CODE)

807 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