WordPress.org

Ready to get started?Download WordPress

Forums

Simple Staff List
[resolved] How to remove img placeholder in IE? (4 posts)

  1. broadwaydc
    Member
    Posted 1 year ago #

    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/

  2. Brett Shumaker
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  3. broadwaydc
    Member
    Posted 1 year ago #

    That worked! Thank you for the idea.

  4. Brett Shumaker
    Member
    Plugin Author

    Posted 1 year ago #

    No problem!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic