WordPress.org

Ready to get started?Download WordPress

Forums

Missing Images (2 posts)

  1. freshpolitics
    Member
    Posted 9 years ago #

    I hadn't noticed until my own mother pointed it out, but the images I have been posting to go along with my articles on Fresh Politics (www.freshpolitics.us) have not been showing up in Internet Explorer. What's up with that??

    I've been using the following tag:

    //<img src="blah" class="alignleft">

    Anyone know how to fix this error? I love firefox, hate IE....

  2. freshpolitics
    Member
    Posted 9 years ago #

    Ah ok, I credit the answer to self determination. Perhaps it's out there on this forum already tho, but I couldn't find it. Either way, here's how to fix the missing images dilemma:

    Under the CSS image tags, which looked like this:

    img.alignright {
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }

    IE required a " position:relative;" tag to top it off. They were reserving space, but the background was coming up on top of the image. So the final product took only simple mods:

    img.alignright {
    position:relative;
    padding: 4px;
    margin: 0 0 2px 7px;
    display: inline;
    }

    img.alignleft {
    position:relative;
    padding: 4px;
    margin: 0px 7px 4px 2px;
    display: inline;
    }

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.