Support » Plugin: Simple Staff List » How to remove img placeholder in IE?

  • Resolved broadwaydc

    (@broadwaydc)


    For many of the staff members I don’t have a picture, but for some I do. I’ve found that in IE9 I get a “ghost box” of where the image would go.

    Example: http://district10.org/w/district-phone-list/division-governors/

    (looks fine in FF or Chrome, not good in IE9)

    In my Staff List template, I do have an img call that looks like this:

    img class=”staff-member-photo” src=”[staff-photo-url]” width=”90px” margin=”5px”;

    Even if I take the width command out, I get left with a little image placeholder in IE9.

    Can I get rid of this with CSS? I haven’t found an answer yet and was hoping someone here could help! Thanks!

    http://wordpress.org/extend/plugins/simple-staff-list/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brett Shumaker

    (@brettshumaker)

    I don’t think you can get rid of it with CSS since that CSS would be applied to all staff members. What you could do, however, is design an image to upload for the staff members that you don’t have a photo for. That way, when there’s not a photo, nothing looks broken.

    That worked! Thank you for the idea.

    Plugin Author Brett Shumaker

    (@brettshumaker)

    No problem!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to remove img placeholder in IE?’ is closed to new replies.