|
|
Subject:
JPEG images in Internet Explorer 5.5 for Windows
Category: Computers > Internet Asked by: shonner-ga List Price: $5.00 |
Posted:
24 Feb 2003 15:07 PST
Expires: 26 Mar 2003 15:07 PST Question ID: 166572 |
Internet Explorer 5.5 for Windows adds a white line between JPEG images in a table (http://www.bottlerocketmfg.com/test2.html). Is there a work around for this (other than converting the images to PNG or GIF)? | |
| |
| |
|
|
Subject:
Re: JPEG images in Internet Explorer 5.5 for Windows
Answered By: theta-ga on 25 Feb 2003 08:52 PST Rated: |
Hi shonner-ga, The problem you are experiencing seems to be a known bug in the IE 5.5 browser, with no official fix. See this MS KB article: - Article 277571: Internet Explorer 5.5 Adds Scan Lines Between JPEG Images ( http://support.microsoft.com/default.aspx?scid=KB;EN-US;Q277571 ) You can check out a Google Groups discussion on this problem: - Subject: White lines appear in slice images Newsgroup: macromedia.fireworks ( http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&th=919b03933eadcf43 ) As for the workaround, here are some suggestions: - (Official MS recommendation) Use .gif files (this is of course disallowed by your question) - The problem seems to only occur with large images (in your case 600x235). Slice the image into multiple smaller pieces and try it out. - You can try out the solution suggested in this Expert Exchange Question: - EE: HTML IE image display bug ( http://www.experts-exchange.com/Web/Web_Languages/HTML/Q_20305038.html ) According to the solution accepted, you should try adding the following code for the OnLoad event for the IMG or BODY tag: < IMG src...width...height... OnLoad="this.style.visibility='visible';" > - Another point mentioned in the MS KB Article, is that the white line may disappear if the jpg images are preloaded using JScript. Just ask for a clarification if you need code for doing this. Hope this helps. If you need any clarifications, just ask! Regards, Theta-ga :-) ========================================== Google/Google Groups Search Terms Used: "ie 5.5" image "white line" |
shonner-ga
rated this answer:
and gave an additional tip of:
$2.00
Thanks a bunch! You've removed a big headache from my day! |
|
Subject:
Re: JPEG images in Internet Explorer 5.5 for Windows
From: hatchetman-ga on 24 Feb 2003 19:41 PST |
I have inserted comments starting at line 12 of your code, where I made changes. See if this is what you want. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <body> <table width="600" border="0" cellspacing="0" cellpadding="0"> <tr> <td> <img src="topfw.jpg" width="600" height="235"> <!-- Put both images in the same cell and insert a break (<BR>) as I have --> <br> <!-- This seems to accomplish what you want --> <img src="bottomfw.jpg" width="600" height="235"> </td> </tr> </table> <p> </p> <p> </p> </body> </html> |
If you feel that you have found inappropriate content, please let us know by emailing us at answers-support@google.com with the question ID listed above. Thank you. |
Search Google Answers for |
Google Home - Answers FAQ - Terms of Service - Privacy Policy |