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 5 of 5
  1. #1
    New to the CF scene
    Join Date
    Oct 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    DIV Background isn't loading immediately

    I am working on fixing up a website that another web designer had made, and I have encountered a problem. They background of my #content-container, takes longer to load than the rest of the site. If you need, I can put the styles and source code up, but the website is http://www.bswake.com

  • #2
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    it's not your background, it's your product pictures. whoever coded it, used High resolution images and forced them to show smaller using css. so they essentially are having users download very large images when they should be tiny thumbnails.

  • #3
    Senior Coder DanInMa's Avatar
    Join Date
    Nov 2010
    Location
    Salem,Ma
    Posts
    1,577
    Thanks
    13
    Thanked 248 Times in 248 Posts
    you are also loading items.js, menu.js and template.js twice. the html code is very messy :|
    You also have a ton of validation errors you might want to look at : http://validator.w3.org/check?uri=ht...Inline&group=0

    Oh an also the back ground image, you could easily apply a little jpg compression and cut the file size almost in half.

  • #4
    New Coder
    Join Date
    Oct 2012
    Posts
    10
    Thanks
    0
    Thanked 0 Times in 0 Posts
    its possible that your thumbnail images size are too big that's why it needs time load.

  • #5
    New to the CF scene
    Join Date
    Oct 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    What background image should I compress?


  •  

    Tags for this Thread

    Posting Permissions

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