How to wrap a list around a block / image?

I am trying to wrap a list around a block, and IE does not make my life easier.

The block floats on the left, so I expect the list to be on the right. Although it works in all browsers, it looks pretty ugly in IE because IE puts text on the right and bullets to the left of the image.

Take a look at an example: http://jsfiddle.net/xA9n8/

How to fix it?

UPD: I tested it in IE9.

+5
source share
3 answers

For googlez:

#somebox ul li {
  list-style-position: inside;
}
+7
source

, float:left; . , <div style="clear: left;" />, .

+2

Give it a try ul{float:left;}. I think it works.

+1
source

All Articles