Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New Coder
    Join Date
    Jul 2008
    Posts
    14
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Internet Explorer Speeding up background image loading in IE 6

    I've got a set width background png (990px x 2000px), and I'm running into an issue where each of my pages reloads the background image and gives a slight flicker before the image pops in on IE 6 only. (If you can possibly believe that!)

    Is there any way to speed up the priority of the background image load in IE6? I'm accomplishing the background image using CSS,
    Code:
    #wrapper {
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    padding:0;
    width:990px;
    height:1035px;
    background:url (images/backgroundfull.png) no-repeat;
    font:normal .8em Arial, Helvetica, sans-serif;
    }
    I've got the wrapper div it lives in at the very top of my CSS files, and
    Code:
    <div class="wrapper">
    is at the top of my HTML.

    The background image is 5.18kb so I don't think it's a weight issue.

    I'm kind of wondering if it's not because each page is a different height, and the image is just filling to the required needs (which are different from page to page.) Hopefully there's a solution.

    Thanks in advance!

  • #2
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    I have had this problem before in IE7 and 6. Its just the way the browser renders the image from a CSS page. You will notice sometimes on browser's it looks like the image isnt even loaded and then it will pop up. Unfortunately i dont think there is an answer to this. Maybe someone else here know of it.

  • Users who have thanked jcdevelopment for this post:

    Jason Thompson (07-10-2008)

  • #3
    Regular Coder
    Join Date
    Jun 2008
    Location
    SE Wisconsin, US
    Posts
    222
    Thanks
    1
    Thanked 20 Times in 20 Posts
    I'll bet it's just a booger with IE6. If your images are not being cached in your browser, I suppose that the load order of the elements could cause a lag as the server is asked to re-send the file each time.
    Milwaukee Web Designer and SEO Milwaukee Firm specializing in ASP.Net, C#, VB.Net, SQL Server and Access.

  • Users who have thanked demtron for this post:

    Jason Thompson (07-10-2008)

  • #4
    New Coder
    Join Date
    Jul 2008
    Posts
    14
    Thanks
    13
    Thanked 0 Times in 0 Posts
    Yeah, I'm kind of attributing it to just being one of the fun things IE 6 does. Without redoing the whole thing to be a slightly more streamlined method, I'm just not finding any easy solutions to this.

    Curse you IE 6!

    Perhaps it's time for people to quit using it, since it's a) old and b) crap.

  • #5
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    Perhaps it's time for people to quit using it, since it's a) old and b) crap.
    I second that!

  • #6
    Senior Coder effpeetee's Avatar
    Join Date
    Feb 2007
    Location
    Clapham Junction - London SW
    Posts
    4,885
    Thanks
    228
    Thanked 204 Times in 203 Posts
    Quote Originally Posted by jcdevelopment View Post
    I second that!
    Go on! You know you really love it.

    YUK

    Frank, (Founder of Masochists United.)
    Last edited by effpeetee; 07-10-2008 at 05:53 PM.
    * Sources (updated: 21.11.2012.
    Using Windows 8 Professional. 64bit with HP Photosmart 5510 printer Very useful site here.

  • #7
    Senior Coder jcdevelopment's Avatar
    Join Date
    Oct 2007
    Location
    Cowboy Nation
    Posts
    2,182
    Thanks
    174
    Thanked 257 Times in 257 Posts
    Frank, you know better than i do that IE6 is an enemy to all developers. If there is a way i could go back in time and stop its release.. i would. But until then we must wait!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •