Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 10 of 10
  1. #1
    Junior Member
    Join Date
    Mar 2008
    Posts
    7
    Member #
    16541
    Can someone please tell me why a background image would not show in IE, but would show in Firefox?

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    If you can provide the relevant code or better yet the link to the page in question, that would be great.

  4. #3
    Junior Member
    Join Date
    Mar 2008
    Posts
    7
    Member #
    16541
    note that its a png... could that be a problem?

  5. #4
    Junior Member
    Join Date
    Mar 2008
    Posts
    7
    Member #
    16541
    <tr background="gradbottom.png">
    <td height="71">
    <p>&nbsp;</p>
    </td>
    </tr>

  6. #5
    Senior Member raspberryh's Avatar
    Join Date
    Aug 2004
    Location
    Erie, PA
    Posts
    882
    Member #
    7208
    Liked
    1 times
    Can you provide a link to the page?
    choosy developers choose gif!
    website | paintings | blog

  7. #6
    Senior Member raspberryh's Avatar
    Join Date
    Aug 2004
    Location
    Erie, PA
    Posts
    882
    Member #
    7208
    Liked
    1 times
    IE doesn't display transparencies in PNGs. But you should still see the transparent part as some solid color.
    choosy developers choose gif!
    website | paintings | blog

  8. #7
    Senior Member aeroweb99's Avatar
    Join Date
    Feb 2008
    Location
    Port Huron, Michigan
    Posts
    1,037
    Member #
    16468
    Liked
    1 times
    You should probably export the png as a gif or a jpg from your graphics editor into your site and use the png for editing and save that outside of your site folder. Png's can be large file sizes and should be optimized for the web.
    (In my experience anyway).

  9. #8
    Senior Member
    Join Date
    Jun 2005
    Location
    Atlanta, GA
    Posts
    4,146
    Member #
    10263
    Liked
    1 times
    About 99.9% of the time, for non-photographic images, PNG is ridiculously better than JPEG for compression, and typically outstrips GIF. The few situations where GIF wins are very small one-color images, sometimes (because GIF is indexed whereas PNG typically is not).

    For photographs, there's definitely no question that JPEG wins out, however.

    As for the background image not appearing, it's very likely that IE's table rows (tr) do not support a background for each one. You will likely have to set a background for the entire table instead.

  10. #9
    Senior Member aeroweb99's Avatar
    Join Date
    Feb 2008
    Location
    Port Huron, Michigan
    Posts
    1,037
    Member #
    16468
    Liked
    1 times
    This may be for another thread but whenever I make graphics in the png format (through Fireworks) the files are very large. I am forced, so I think, to change them into jpg or gif to reduce the file size by sometimes 60 or 70 %. How large of a png file is tolerable for the web? I am just asking Shadowfiend because I really don't know.

  11. #10
    Junior Member
    Join Date
    Mar 2008
    Posts
    2
    Member #
    16571
    You put the background in the table row, there is virtually no area for which to display the background on. All of the area in a table (save for some marginalizing due 'invisible' backgrounds in the table and table row) is in the table cell. Try putting it into the 'td' instead of the 'tr'.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 10:55 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com