• Resolved noncollective

    (@noncollective)


    Is it possible to have a solid colour behind images while they load?

    Cheers, D.

Viewing 4 replies - 1 through 4 (of 4 total)
  • harknell

    (@harknell)

    You can usually add that in by adding a css entry for images (or make a class for images that get added to your images) and add a background image element. Any decent online css guide will show you how this works.

    aeonex

    (@aeonex)

    Harknell,

    Do you have a reference to “any decent css guide” ?

    Have you tested any of the theories you have posted?

    “You can usually add that in by adding a css entry for images”

    An entry such as?

    Attempting to give the img tag a value in the css of a background-color?

    (or make a class for images that get added to your images) and add a background image element.

    What???

    Make a DIV and give it a background-color to show while the image is loading?

    What did you have in mind?

    shadow

    (@shadow)

    In your CSS, whatever class you are using for your images, [usually something like .post img] just add a background colour.

    For example

    .post img {background #cccccc;}

    Thread Starter noncollective

    (@noncollective)

    Thanks Shadow, that worked.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Solid Color behind loading images?’ is closed to new replies.