Forums

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

Home Forums CSS [Solved] Max-width on fluid images does not work for IE

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #165433
    zerobrainwash
    Participant

    Hi guys,

    Any help would be greatly appreciated. I have just finished developing this site http://zerobrainwash.com/sandbox/bestcar/ and noticed that images don’t resize as in other browsers. I use max-width: 100% property. I thought it should at least work for IE10. Do you have any idea what could be the possible issue?

    More specifically, look at section ‘Splitleasing – Firmabil uden beskatning’ and resize it. You will see that the car stays above divs width.

    Cheers :)

    #165509
    Chromawoods
    Participant

    IE handles this fine, the error is in your CSS. You have defined the width property twice for that image rule (line 1007), and the lower one looks broken. It says “width:auto\9;”. Remove that property and stick with the “width:100%;” one.

    #165518
    zerobrainwash
    Participant

    Thanks man, that’s just embarrasing. That was a fix which I included for something and reused later but now forgot what the fix was for.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.