Stupid IE8 not getting my logo to center?

Discussion in 'HTML & Website Design' started by BannanoPeel, Nov 25, 2009.

  1. #1
    My logo is centered perfectly on all browsers except for IE8

    
    <a href="$vboptions[forumhome].php$session[sessionurl_q]" accesskey="1">
    <img src="$stylevar[imgdir_misc]/logo.png" alt="$vboptions[bbtitle]" width="237 px" height="122 px" border="0" style="position: absolute; margin:25px 0px 0px 33.8%; z-index: 5;" ></a>
    HTML:
    That's what I have, I am pretty sure it has to do with the margin but not positive, If you don't know what I mean use IE8 and go to the link in my signature. I think you could fix it with one of those */For IE8 \* Things but I don't know how to do that. Any help would be greatly appreciated.
     
    BannanoPeel, Nov 25, 2009 IP
  2. 30ml

    30ml Peon

    Messages:
    27
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    style="position:absolute:left:50%; margin:25px 0 0 -$width image/2; z-index:5"


     
    Last edited: Nov 25, 2009
    30ml, Nov 25, 2009 IP