Support » Fixing WordPress » Image Border not working in IE but does in FF

  • Hey all, Im having an issue at the moment with a big IE/ FF difference

    I have a silver border around my image with 7px of padding to create a nice white frame around my images that i post on the blog… This works perfect in Firefox but the padding is a no show in IE leaving me with an image with just a thin silver border around it right against the edge of the image..

    I cant seem to figure out what the problem is as the site that i copied the image border code from displayed correctly in both browsers, whereas my implementation of it does not (I edited it but only pixel values and such), which leaves me to think there is a conflicting code somewhere in my work that IE doesnt like…

    Any suggestions on where I should start looking? I hate the slight differences between IE and Firefox, so far I’ve been able to accept them but this is something that i need to fix

Viewing 4 replies - 1 through 4 (of 4 total)
  • Do you have an url?

    I’ve figured a way around the problem for anybody who’s having a similar issue.

    The way I had the image borders was:

    .thinborder {
    border: solid 1px silver;
    padding: 7px;
    margin-bottom: 10px;

    <div style=”text-align: center”><img class=”thinborder” src=” the image link “></div>

    Instead i gave the div the class:

    <div class=”thinborder” style=”text-align: center”><img src=” the image link “></div>

    And it got the borders w/padding working perfectly in IE but it added a bit of width to the left and right sides of the images padding in Firefox

    Gonna figure out a way around that and will post it

    You have got errors in your html. Look at your source-code

    <div id=”wrapper”>
    <!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “”>
    <html xmlns=””>

    there is a div-tag above the doctype. These can alter the visualisation (esp. in FF)

    Have a look at

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Image Border not working in IE but does in FF’ is closed to new replies.