1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

HTML/CSS - Background Image vs. Color?

Discussion in 'Programming & Webmastering' started by OnePostWonder, Feb 18, 2013.

  1. OnePostWonder

    Joined:
    Dec 27, 2008
    Messages:
    582 (0.27/day)
    Thanks Received:
    107
    When a very similar color is available, what is the purpose of having a single color background image?

    For example, a reputable site using a background image as a default, and a color that is only a few RGB values different as a backup:

    WebPlatform

    Isn't it faster for the browser to parse the HTML rather than loading the image? I know on a modern PC it makes little difference, but for people who are using older hardware it would seem to matter more.

    Thanks in advance.
     
  2. W1zzard

    W1zzard Administrator Staff Member

    Joined:
    May 14, 2004
    Messages:
    14,954 (3.92/day)
    Thanks Received:
    11,754
    the background image has a pattern, not a solid color
     
  3. OnePostWonder

    Joined:
    Dec 27, 2008
    Messages:
    582 (0.27/day)
    Thanks Received:
    107
    bg-pattern.png

    Wow, I knew they had called the file bg-pattern, but it looked like only one color to me. I actually stared at that for a bit before I saw it wasn't uniform.

    Zooming in in Paint showed more. Is it some kind of effect to have such small variations in the image?

    Also, how were you able to tell? Good monitor? :D
     
  4. W1zzard

    W1zzard Administrator Staff Member

    Joined:
    May 14, 2004
    Messages:
    14,954 (3.92/day)
    Thanks Received:
    11,754
    good monitor, good eyes, can read filenames

    it is a subtle effect but even on sub-optimal monitors it has a visual effect
     
  5. Frick

    Frick Fishfaced Nincompoop

    Joined:
    Feb 27, 2006
    Messages:
    10,776 (3.41/day)
    Thanks Received:
    2,340
    I have bad eyes and a bad monitor and even I could see that it was a pattern. It's just a picture that repeats endlessly.
     
  6. OnePostWonder

    Joined:
    Dec 27, 2008
    Messages:
    582 (0.27/day)
    Thanks Received:
    107
    Tough day at work?

    Implying what?

    I have no way of controlling it, but I would say that without zooming in on the file, a large percentage of people wouldn't be able to see the difference.

    Well, now I know it's an image.
     
  7. Aleksander

    Joined:
    Dec 2, 2009
    Messages:
    3,254 (1.82/day)
    Thanks Received:
    304
    Difference between an image and a color is that the image will have an alt keyword, which can be indexed by the search engines.
    The image is not optimized for CSS, but the color on the other hand is.
     
  8. Frick

    Frick Fishfaced Nincompoop

    Joined:
    Feb 27, 2006
    Messages:
    10,776 (3.41/day)
    Thanks Received:
    2,340
    Nothing. Just saying.

    OR AM I?
     
    Jizzler says thanks.
  9. OnePostWonder

    Joined:
    Dec 27, 2008
    Messages:
    582 (0.27/day)
    Thanks Received:
    107
    :shadedshu
     
    Last edited: Feb 19, 2013
  10. Frick

    Frick Fishfaced Nincompoop

    Joined:
    Feb 27, 2006
    Messages:
    10,776 (3.41/day)
    Thanks Received:
    2,340
  11. OnePostWonder

    Joined:
    Dec 27, 2008
    Messages:
    582 (0.27/day)
    Thanks Received:
    107
  12. W1zzard

    W1zzard Administrator Staff Member

    Joined:
    May 14, 2004
    Messages:
    14,954 (3.92/day)
    Thanks Received:
    11,754
    that page is from 2003 .. back then people were proud of such designs
     
  13. Frick

    Frick Fishfaced Nincompoop

    Joined:
    Feb 27, 2006
    Messages:
    10,776 (3.41/day)
    Thanks Received:
    2,340
  14. OnePostWonder

    Joined:
    Dec 27, 2008
    Messages:
    582 (0.27/day)
    Thanks Received:
    107
    1. Do I even want to know how you find these sites?

    2. At least they're progressive and accept a (color)spectrum of different sexualities. :rolleyes:
     
  15. Aleksander

    Joined:
    Dec 2, 2009
    Messages:
    3,254 (1.82/day)
    Thanks Received:
    304
  16. OnePostWonder

    Joined:
    Dec 27, 2008
    Messages:
    582 (0.27/day)
    Thanks Received:
    107

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page