IE 9 CSS Float problem!

19,804

Solution 1

I'm not sure why IE9 is behaving differently, but you can fix it to work consistently by:

  • Removing margin-right: 30px on .image.
  • Removing width: 500px on .detail (you may wish to add back a smaller width)
  • Adding float: left to .detail.

Here's a simple reproduction of the problem.

Solution 2

This is a fix for the problem in IE9:

li{list-style-position: inside;}

I guess that IE9 doesn't have the list bullets "inside".

Se the fix here:

http://jsfiddle.net/Nh3kf/40/

Share:
19,804
user457015
Author by

user457015

I am me

Updated on June 04, 2022

Comments

  • user457015
    user457015 almost 2 years

    The following web page is not showing properly in IE 9.

    It seems to be only a problem in IE 9.

    http://froyo.tv/test/

    the list-style-image are over the image!

    enter image description here

    IE9

    enter image description here

    Firefox, Chrome, IE8, ...

    EDIT: I know how to fix it! But I want to know what is really going on with IE9

    Fixed: http://froyo.tv/test/index_fix.php