IE9 CSS Float Problem!

The following page does not display properly in IE 9.

This seems to be the only problem in IE 9.

http://froyo.tv/test/

The list style image is above the image!

enter image description here

IE9

enter image description here

Firefox, Chrome, IE8, ...

EDIT: I know how to fix this! But I want to know what happens with IE9

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

+3
source share
3 answers

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

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

Here's a simple reproduction of the problem.

+3
source

This is the fix for the problem in IE9:

li {list-style-position: inside;}

I assume that IE9 does not have an "inside" list bullet.

Se fix here:

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

+3
source

Well, using Chrome, I see custom list images, IE9 does not handle list style. Instead of using it, try the following:
li {background: url (your_image.jpg) in the center on the left;}

0
source

Source: https://habr.com/ru/post/885778/


All Articles