Well, I thought this was a simple problem. Until I tried a half-dozen approaches without success. I'm designing a page that shows a list of companies, with their logo and a blurb. The logos vary in size up to 150px, so I thought the best thing to do (and my client agrees) was to reserve 150px for the logo, center the logo at actual size within that, and wrap the text to the right and underneath.
But I can't make it work. The best I have so far is to use a DIV with width: 150px; float: left; and put the IMG inside it. This does almost exactly what I want, but I can't get the IMG to the center of the DIV. I tried margin-left: auto; margin-right: auto; and even align="center", as well as few other things I can't remember now, but no luck.
Whatever I do, it has to work in FF as well as IE.
Help?