Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS [Solved] IE9, (Image not showing)

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #186251
    sbertrand
    Participant

    http://www.mccarthyholiday.com/333

    Working on the 404 page and I’m not sure because it’s late or because I just missed something but in IE9 it isn’t rendering the logo correctly. Seems to work fine in Chrome and FF…what’d I miss…Thanks!!!

    #186271
    Krish1980
    Participant

    Instead of using the attribute "height=auto" , use the attribute style="height:auto;"

    Having said this,a better way to do this would be to define the style properties in an external stylesheet instead of defining it inline.

    So you could use Css like this

    #mccarthy150logo img{width:28%; height:auto;}

    #186307
    Senff
    Participant

    There are errors in your code:

    #mccarthy150logo {
        background: url( .. / .. / formation/images/MinONLY_150-red-McC-bar-PMS199-01-300x92.png ) height= "92px";
    }
    

    The height declaration is not supposed to be there. It’s probably not really IE9 that’s causing the issue, but your code. ;)

    #186317
    sbertrand
    Participant

    Ah, both of you are exactly correct! This is what happens when you code really late at night after a long day of working…Thank you so so so much!

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.